Flink-HA程序无法停止

使用停止
[root@master bin]# ./stop-cluster.sh
No taskexecutor daemon to stop on host slave1.
No taskexecutor daemon to stop on host slave2.
No taskexecutor daemon to stop on host slave3.
No taskexecutor daemon to stop on host slave4.
No standalonesession daemon to stop on host master.
Stopping standalonesession daemon (pid: 30082) on host slave1.

原因为PID文件被tmp清理掉了
查看/usr/lib/flink-1.11.3/bin/config.sh
查看其中
DEFAULT_ENV_PID_DIR="/tmp"                          # Directory to store *.pid files to
进程的pid文件会在/tmp目录下临时生成
这种情况会被系统自动清理掉
修改此配置
DEFAULT_ENV_PID_DIR="/usr/lib/flink-1.11.3/tmp"                          # Directory to store *.pid files to
注意创建/tmp目录
然后将所有slave节点的flink进程都手动kill掉之后
再去启动HA

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值