Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
hdfs [2016/04/19 09:36] steve |
hdfs [2016/04/21 08:30] steve |
||
---|---|---|---|
Line 66: | Line 66: | ||
<code> | <code> | ||
- | hdfs dfs -copyToLocal /user/beandog/bigdata /var/archives/bigdata | + | hdfs dfs -copyToLocal /user/beandog/bigdata /home/beandog/bigdata.bak |
</code> | </code> | ||
Line 88: | Line 88: | ||
<code> | <code> | ||
hadoop-node4.lan | hadoop-node4.lan | ||
+ | </code> | ||
+ | |||
+ | Tell the NameNode to refresh the nodes: | ||
+ | |||
+ | <code> | ||
+ | hdfs dfsadmin -refreshNamenodes | ||
+ | </code> | ||
+ | |||
+ | The HDFS node will be decomissioned, which will take some time. You can view the status either through the web interface, or using ''hdfs dfsadmin'': | ||
+ | |||
+ | <code> | ||
+ | hdfs dfsadmin -report | ||
</code> | </code> |