共计 1471 个字符,预计需要花费 4 分钟才能阅读完成。
今天丸趣 TV 小编给大家分享一下 CDH4/ 5 集群怎么正确启动和停止的相关知识点,内容详细,逻辑清晰,相信大部分人都还太了解这方面的知识,所以分享这篇文章给大家参考一下,希望大家阅读完这篇文章后有所收获,下面我们一起来了解一下吧。
Stop:
1.cm web http://172.16.102.63:7180/
a.stop Cluster1
b.stop Cloudera Management Service
2.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 stop
Start:
1.start cm database
sh-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 start
3.cm web http://172.16.102.63:7180/
a.start Cluster1
b.start Cloudera Management Service
### 假如 web 界面出现,host 等等图表信息读取错误,那么再手工重启 Cluster1 或者 Cloudera Management Service
以上就是“CDH4/ 5 集群怎么正确启动和停止”这篇文章的所有内容,感谢各位的阅读!相信大家阅读完这篇文章都有很大的收获,丸趣 TV 小编每天都会为大家更新不同的知识,如果还想学习更多的知识,请关注丸趣 TV 行业资讯频道。