2020年12月25日
Kubernetes 安装 本次安装环境 Centos 7 ,直接到安装脚本 本次使用阿里镜像源 https://developer.aliyun.com/mirror 注意:如果使用虚拟机安装时,一定记得不要使用复制的虚拟机,复制的虚拟机 mac 地址可能是相同的,这会导致 kubernetes 的 pod 网络不能相互访问 环境准备 安装的系统要进行一些安装前准备工作 关闭防火墙 systemctl stop firewalld //关闭防火墙 systemctl disable firewalld //关闭开机自启 关闭se……
阅读全文
2020年12月25日
安装Docker 本次安装在 CentOS 7上使用 Yum 安装 本次使用阿里镜像源安装 阿里镜像地址 https://developer.aliyun.com/mirror/ 准备环境 查找 docker-ce repo 库 在目录https://mirrors.aliyun.com/docker-ce/linux/centos/下找到docker-ce.repo 右键复制地址链接 下载 docker-ce repo 库 wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 或 curl -o /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo……
阅读全文
2020年11月16日
Could not transfer artifact org.apache.flink:flink-runtime_2.11:jar:1.10.0 from/to central (https://repo.maven.apache.org/maven2): GET request of: org/apache/flink/flink-runtime_2.11/1.10.0/flink-runtime_2.11-1.10.0.jar from central failed: Premature end of Content-Length delimited message body (expected: 12,008,735; received: 2,379,621) -> [Help 1] 由于之前从网上加载依赖包没有加载完全,导致本地库中的包不完全,所以没有办法重新加载依赖。可以直接找到相应的包目录将目录删除,然后从新下载。 本文中直接删除.m2/repository/org/apache/flink/fli……
阅读全文
2020年8月19日
Flink 部署 On Yarn yarn-session 开启session yarn-session.sh -jm 1024m -tm 4096m 在session上提交作业 flink run -m yarn-cluster -p 4 -yjm 1024m -ytm 4096m ./examples/batch/WordCount.jar 关闭session echo “stop” | ./bin/yarn-session.sh -id -D 使用-D将要设置的参数进行设置(-Dtaskmanager.memory.network.min=536346624) -d,–detached 开启分离模式(session启动后clie……
阅读全文