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

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

Explorer

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

Accepted Solutions

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

Super 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

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

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

Explorer

Thank you all for the answers.