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