CDH4/5集群怎么正确启动和停止
今天小编给大家分享一下CDH4/5集群怎么正确启动和停止的相关知识点,内容详细,逻辑清晰,相信大部分人都还太了解这方面的知识,所以分享这篇文章给大家参考一下,希望大家阅读完这篇文章后有所收获,下面我们一起来了解一下吧。
从事电信机房托管,服务器租用,云主机,雅安服务器托管,主机域名,CDN,网络代维等服务。
Stop:
1.cm webhttp://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 webhttp://172.16.102.63:7180/
a.start Cluster1
b.start Cloudera Management Service
###假如web界面出现,host等等图表信息读取错误,那么再手工重启 Cluster1 或者 Cloudera Management Service
以上就是“CDH4/5集群怎么正确启动和停止”这篇文章的所有内容,感谢各位的阅读!相信大家阅读完这篇文章都有很大的收获,小编每天都会为大家更新不同的知识,如果还想学习更多的知识,请关注创新互联行业资讯频道。
分享标题:CDH4/5集群怎么正确启动和停止
文章网址:http://scyanting.com/article/pjcosi.html