=============================================删了重装============================================================
-----------------------------------------------------------
1.在cm界面(admin)下,关闭集群所有服务
-----------------------------------------------------------
2.CM界面下删除所有节点(还是保留一个cm主节点?)
-----------------------------------------------------------
[root@centoshost1 parcel-repo]# /opt/cm-5.7.2/etc/init.d/cloudera-scm-agent stop
Stopping cloudera-scm-agent: [ OK ]
[root@centoshost2 ~]# /opt/cm-5.7.2/etc/init.d/cloudera-scm-agent stop
Stopping cloudera-scm-agent: [ OK ]
[root@centoshost3 ~]# /opt/cm-5.7.2/etc/init.d/cloudera-scm-agent stop
Stopping cloudera-scm-agent: [ OK ]
[root@centoshost1 parcel-repo]# /opt/cm-5.7.2/etc/init.d/cloudera-scm-server stop
---------------------------------------------------------------------
上面几步,其实重启最方便,
CDH没配置开启自启动服务,重启后,其实什么都没启
[root@centos7host-1 ~]# /usr/java/latest/bin/jps
2668 Jps
[root@centos7host-1 ~]# netstat -an | grep LISTEN | grep -v LISTENING
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp
-----------------------------------------------------------
1.在cm界面(admin)下,关闭集群所有服务
-----------------------------------------------------------
2.CM界面下删除所有节点(还是保留一个cm主节点?)
-----------------------------------------------------------
[root@centoshost1 parcel-repo]# /opt/cm-5.7.2/etc/init.d/cloudera-scm-agent stop
Stopping cloudera-scm-agent: [ OK ]
[root@centoshost2 ~]# /opt/cm-5.7.2/etc/init.d/cloudera-scm-agent stop
Stopping cloudera-scm-agent: [ OK ]
[root@centoshost3 ~]# /opt/cm-5.7.2/etc/init.d/cloudera-scm-agent stop
Stopping cloudera-scm-agent: [ OK ]
[root@centoshost1 parcel-repo]# /opt/cm-5.7.2/etc/init.d/cloudera-scm-server stop
---------------------------------------------------------------------
上面几步,其实重启最方便,
CDH没配置开启自启动服务,重启后,其实什么都没启
[root@centos7host-1 ~]# /usr/java/latest/bin/jps
2668 Jps
[root@centos7host-1 ~]# netstat -an | grep LISTEN | grep -v LISTENING
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp