agent的状态 跟其他的几个节点不太一样
正常节点的状态如下:
[root@bigdata103 ~]# service cloudera-scm-agent status
● cloudera-scm-agent.service - LSB: Cloudera SCM Agent
Loaded: loaded (/etc/rc.d/init.d/cloudera-scm-agent)
Active: active (exited) since 日 2018-10-14 21:12:08 CST; 2 months 27 days ago
Docs: man:systemd-sysv-generator(8)
Memory: 0B
10月 14 21:11:56 bigdata103.xxx.com.cn systemd[1]: Starting LSB: Cloudera SCM Agent...
10月 14 21:11:57 bigdata103.xxx.com.cn su[1637]: (to root) root on none
10月 14 21:12:08 bigdata103.xxx.com.cn cloudera-scm-agent[1129]: Starting cloudera-scm-agent: [ 确定 ]
10月 14 21:12:08 bigdata103.xxx.com.cn systemd[1]: Started LSB: Cloudera SCM Agent.
该节点的状态如下:
[root@bigdata101 ~]# service cloudera-scm-agent status
● cloudera-scm-agent.service - LSB: Cloudera SCM Agent
Loaded: loaded (/etc/rc.d/init.d/cloudera-scm-agent; generated; vendor preset: enabled)
Active: active (exited) since Fri 2019-01-11 10:26:01 CST; 7s ago
Docs: man:systemd-sysv-generator(8)
Process: 14154 ExecStop=/etc/rc.d/init.d/cloudera-scm-agent stop (code=exited, status=1/FAILURE)
Process: 14182 ExecStart=/etc/rc.d/init.d/cloudera-scm-agent start (code=exited, status=0/SUCCESS)
CPU: 31ms
1月 11 10:26:01 bigdata101.xxx.com.cn systemd[1]: Starting LSB: Cloudera SCM Agent...
1月 11 10:26:01 bigdata101.xxx.com.cn cloudera-scm-agent[14182]: cloudera-scm-agent is already running
1月 11 10:26:01 bigdata101.xxx.com.cn systemd[1]: Started LSB: Cloudera SCM Agent.
另外/run/cloudera-scm-agent/下的cloudrea-scm-agent.pid里面没有任何值,删除了该文件restart以后,也没有值
另外 其他正常节点上9000端口都已经被cm程序使用了:
[root@bigdata104 ~]# netstat -tunlp|grep 9000
tcp 0 0 193.168.10.104:9000 0.0.0.0:* LISTEN 2441/python2.7
[root@bigdata104 ~]# lsof -i:9000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cmf-agent 2441 root 13u IPv4 22517 0t0 TCP bigdata104.xxx.com.cn:cslistener (LISTEN)
唯独这个没有安装成功的节点不一样:
[root@bigdata101 ~]# netstat -tunlp|grep 9000
[root@bigdata101 ~]# lsof -i:9000
[root@bigdata101 ~]#
各位大佬,有人知道是怎么回事吗?
这个问题是不是问的比较6,说到6我就想到了六老师,今年下半年,中西合拍,文体两开花