在Ubuntu上监控HDFS状态,可使用以下方法:
hdfs dfsadmin -report
hdfs fsck /
http://namenode - host:9870
$HADOOP_HOME/logs