Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
hdfs_dfsadmin [2015/09/08 15:10] steve old revision restored (2015/09/08 21:06) |
hdfs_dfsadmin [2016/04/18 18:16] steve |
||
---|---|---|---|
Line 3: | Line 3: | ||
* [[Hadoop]] | * [[Hadoop]] | ||
* [[hdfs]] | * [[hdfs]] | ||
- | * [[dfs]] | ||
** Put the cluster in Safemode: ** | ** Put the cluster in Safemode: ** | ||
Line 11: | Line 10: | ||
</code> | </code> | ||
- | ** Generate a list of DataNodes: ** | + | ** Recommission or decommission DataNode(s): ** |
<code> | <code> | ||
- | hdfs dfsadmin -report | + | hdfs dfsadmin -refreshNodes |
</code> | </code> | ||
- | ** Recommission or decommission DataNode(s): ** | + | ** Get information about your HDFS filesystem: ** |
<code> | <code> | ||
- | hdfs dfsadmin -refreshNodes | + | hdfs dfsadmin -report |
</code> | </code> | ||
- | ** Get information about your HDFS filesystem: ** | + | ** Check the status of the nodes in the rack ** |
<code> | <code> | ||
- | hdfs dfsadmin -report | + | hdfs dfsadmin -printTopology |
</code> | </code> |