FailOver Command
Need to run as hdfs
sudo su hdfs -c "hdfs haadmin -DFSHAAdmin -failover nn2 nn1"
TO Check Cluster Health:
Need to run as hdfs
hadoop fsck /
Need to run as hdfs
sudo su hdfs -c "hdfs haadmin -DFSHAAdmin -failover nn2 nn1"
TO Check Cluster Health:
Need to run as hdfs
hadoop fsck /
No comments:
Post a Comment