本文共 1306 字,大约阅读时间需要 4 分钟。
Stop:
1.cm web a.stop Cluster1b.stop Cloudera Management Service2.stop agent and server
[root@sh-datascienceresearch-01 ~]# service cloudera-scm-agent stop[root@sh-datascienceresearch-02 ~]# service cloudera-scm-agent stop[root@sh-datascienceresearch-03 ~]# service cloudera-scm-agent stop[root@sh-datascienceresearch-04 ~]# service cloudera-scm-agent stop[root@sh-datascienceresearch-05 ~]# service cloudera-scm-agent stop[root@sh-datascienceresearch-01 ~]# service cloudera-scm-server stop
3.stop cm database
sh-datascienceresearch-01.telenav.cn:mysqladmin:/usr/local/mysql:>service mysql stopStart:1.start cm databasesh-datascienceresearch-01.telenav.cn:mysqladmin:/usr/local/mysql:>service mysql start
2.start server and agent
[root@sh-datascienceresearch-01 ~]# service cloudera-scm-server start###wait 1min
[root@sh-datascienceresearch-01 ~]# service cloudera-scm-agent start
[root@sh-datascienceresearch-02 ~]# service cloudera-scm-agent start[root@sh-datascienceresearch-03 ~]# service cloudera-scm-agent start[root@sh-datascienceresearch-04 ~]# service cloudera-scm-agent start[root@sh-datascienceresearch-05 ~]# service cloudera-scm-agent start3.cm web
a.start Cluster1b.start Cloudera Management Service###假如web界面出现,host等等图表信息读取错误,那么再手工重启 Cluster1 或者 Cloudera Management Service
转载地址:http://jcjko.baihongyu.com/