How to start and stop CDH4/5 Cluster correctly
Today, the editor will share with you the relevant knowledge points about how to start and stop the CDH4/5 cluster correctly. The content is detailed and the logic is clear. I believe most people still know too much about this, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.
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
# if the web interface appears and the chart information such as host is read incorrectly, restart Cluster1 or Cloudera Management Service manually
These are all the contents of the article "how to start and stop CDH4/5 Cluster correctly". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.