HADOOP HA Pit-all namenode are standby

Source: Internet
Author: User

Error:

No obvious error

Condition:

All Namenode are standby, that is, the ZK service is not in force

Try one: Manually force the conversion of a namenode to active

Action: On a namenode, perform hdfs haadmin-transitiontoactive--forcemanual nn1 (nn1 is one of your nameservice-id)

Result: Nn1 was successfully converted to active. But after stop-dfs.sh again start-dfs.sh, all Namenode are still standby

Conclusion: It is the problem of ZK

Try two: Initialize ZK

Action: On a namenode, perform HDFs Zkfc-formatzk

Result: After re-start-dfs.sh, everything is OK

HADOOP HA Pit-all namenode are standby

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.