====== dfsadmin ====== * [[Hadoop]] * [[HDFS]] * [[https://developer.yahoo.com/hadoop/tutorial/module2.html#admincommandref|HDFS dfsadmin Command Reference]] ** Put the cluster in Safemode: ** hdfs dfsadmin -safemode enter ** Recommission or decommission DataNode(s): ** hdfs dfsadmin -refreshNodes ** Get information about your HDFS filesystem: ** hdfs dfsadmin -report ** Check the status of the nodes in the rack ** hdfs dfsadmin -printTopology