centos7下hadoop3.0.3 hdfs状态查看命令

centos7下hadoop3.0.3 hdfs状态查看命令

查看安全模式状态
hdfs dfsadmin -safemode get

通过命令来查看NameNode的状态(是Active还是Standby)
hdfs haadmin -getServiceState nn1
hdfs haadmin -getServiceState nn2
hdfs haadmin -getServiceState nn3

查看zookeeper集群状态
runRemoteCmd.sh “zkServer.sh status” all

猜你喜欢

转载自blog.csdn.net/hsg77/article/details/80973516
今日推荐