Support Questions
Find answers, ask questions, and share your expertise

Shutdown the Hadoop Cluster Cleanly

Shutdown the Hadoop Cluster Cleanly

Hi,

I just want to stop the hadoop cluster (completey & cleanly) for the maintainence purpose. Could anyone send the complete steps which i will take to stop the services and cluster?

Best Regards

Muhammad Touseef

2 REPLIES 2

Re: Shutdown the Hadoop Cluster Cleanly

Super Guru

You can shut down all services via ambari by going to right side tool bar and select stop all. This is clean shutdown.

13024-1111.jpg

Info here

https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_Ambari_Users_Guide/content/_starting_and...

Via api info here:

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517

Re: Shutdown the Hadoop Cluster Cleanly

Super Guru

@Muhammad Touseef

You can use the instructions to stop hadoop services before upgrade. One thing you absolutely want to make sure is no jobs are running. Let any running job complete. The right way to do it would be to stop queues so any running jobs will complete but no new jobs will be submitted. Once all jobs are completed and nothing is running, you can use "stop all" command from Ambari or simply follow the instructions below:

https://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html ---> check for how to stop queues

https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_upgrading_Ambari/content/_stop_cluster_a... -->stop all.