Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

What's the best order of starting/stoping HDFS services?

avatar
New Member

In a typical HDFS HA deployment, Zookeeper, ZKFailoverController, DataNodes, NameNodes and JournalNodes, are all installed. What's the best order of starting/stoping these HDFS services to avoid running into services dependency issues?

1 ACCEPTED SOLUTION

avatar

You need to follow the below Start order

  • Ranger
  • Knox
  • ZooKeeper
  • HDFS
    • Journal Node
    • Name Node
    • Secondary Name Node
    • Data Node
  • YARN
    • Resource Manager
    • History Server
    • Node Manager

View solution in original post

4 REPLIES 4

avatar
Master Guru

Stop order:

1. Stop Datanodes

2. Stop Namenodes

3. Stop ZKs

4. Stop Journal nodes

Start Order:

1. Start ZKs

2. Start JNs

3. Start Datanodes

4. Start NNs

avatar

If you are using ambari , It will take care of the sequence. You just need to click on start service and start service.

avatar

You need to follow the below Start order

  • Ranger
  • Knox
  • ZooKeeper
  • HDFS
    • Journal Node
    • Name Node
    • Secondary Name Node
    • Data Node
  • YARN
    • Resource Manager
    • History Server
    • Node Manager

avatar
New Member

Thank you all for the answers.