- namenode HA
- Check to make sure you have at least three hosts in your cluster and are running at least three ZooKeeper servers
- ambari web -> services -> HDFS -> service actions -> enable namenode HA -> nameservice ID -> select hosts -> review
- create checkpoint
- login to the namenode host
- sudo su hdfs -l -c 'hdfs dfsadmin -safemode enter'
- sudo su hdfs -l -c 'hdfs dfsadmin -saveNamespace'
- configure components
- initialize journalnodes
- login to the namenode host
- sudo su hdfs -l -c 'hdfs namenode -initializeSharedEdits'
- start components
- initialize metadata
- login to the namenode host
- sudo su hdfs -l -c 'hdfs zkfc -formatZK'
- login to the additional namenode host
- sudo su hdfs -l -c 'hdfs namenode -bootstrapStandby'
- finalize HA setup
- resourcemanager HA
- Check to make sure you have at least three hosts in your cluster and are running at least three ZooKeeper servers
- ambari web -> services -> YARN -> service actions -> enable resouremanger HA -> get started -> select hosts -> review -> configure components
Monday, November 30, 2015
HDP - Hadoop HA
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.