Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hdfs_dfsadmin [2015/09/08 15:10]
steve old revision restored (2015/09/08 21:06)
hdfs_dfsadmin [2016/04/18 18:22]
steve
Line 2: Line 2:
  
   * [[Hadoop]]   * [[Hadoop]]
-  * [[hdfs]] +  * [[HDFS]] 
-  * [[dfs]]+ 
 +  * [[https://​developer.yahoo.com/​hadoop/​tutorial/​module2.html#​admincommandref|HDFS dfsadmin Command Reference]]
  
 ** Put the cluster in Safemode: ** ** Put the cluster in Safemode: **
Line 9: Line 10:
 <​code>​ <​code>​
 hdfs dfsadmin -safemode enter hdfs dfsadmin -safemode enter
-</​code>​ 
- 
-** Generate a list of DataNodes: ** 
- 
-<​code>​ 
-hdfs dfsadmin -report 
 </​code>​ </​code>​
  
Line 27: Line 22:
 <​code>​ <​code>​
 hdfs dfsadmin -report hdfs dfsadmin -report
 +</​code>​
 +
 +** Check the status of the nodes in the rack **
 +
 +<​code>​
 +hdfs dfsadmin -printTopology
 </​code>​ </​code>​