CDH node disconnection time is too long and cannot be connected to the solution

Processing method when the node disconnection time is too long:

 

[root@slave1 ~]# /etc/init.d/cloudera-scm-agent status

cloudera-scm-agent dead but pid file exists

 

 

[root@slave1 ~]# service httpd status

httpd is stopped

[root@slave1 ~]# service httpd restart

Stopping httpd:                                            [FAILED]

Starting httpd:                                            [  OK  ]

 

 

cloudera-scm-agent dead but pid file exists

[root@slave1 ~]# cd /var/run/

[root@slave1 run]# ls

 

[root@slave1 run]# rm -rf cloudera-scm-agent.pid

[root@slave1 run]# service cloudera-scm-agent status

cloudera-scm-agent is stopped

[root@slave1 run]# service cloudera-scm-agent start

Starting cloudera-scm-agent:                               [  OK  ]

[root@slave1 run]# service cloudera-scm-agent status

cloudera-scm-agent (pid  6257) is running...

 

 

 

Well, restart each application process and return to normal

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326630156&siteId=291194637