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_dfs [2015/09/10 13:39]
steve
hdfs_dfs [2016/04/18 18:21]
steve
Line 2: Line 2:
  
   * [[Hadoop]]   * [[Hadoop]]
-  * [[hdfs]]+  * [[HDFS]]
   * [[hdfs dfsadmin]]   * [[hdfs dfsadmin]]
 +
 +  * [[https://​developer.yahoo.com/​hadoop/​tutorial/​module2.html#​commandref|HDFS Command Reference]]
  
 ** Permissions:​ ** Note that files listed by ''​hdfs dfs''​ are owned by the ''​hdfs''​ user on the Linux system. That means that files on HDFS must be written / removed / modified by user ''​hdfs''​. Using ''​root''​ will not work. ** Permissions:​ ** Note that files listed by ''​hdfs dfs''​ are owned by the ''​hdfs''​ user on the Linux system. That means that files on HDFS must be written / removed / modified by user ''​hdfs''​. Using ''​root''​ will not work.
Line 114: Line 116:
 </​code>​ </​code>​
  
-** Immediatly ​empty trash **+** Immediately ​empty trash **
  
 <​code>​ <​code>​
 hdfs dfs -expunge hdfs dfs -expunge
 +</​code>​
 +
 +** Disable safe mode **
 +
 +HDFS will enable safe mode if the set number of possible nodes to fail have failed. See ''​dfs.namenode.safemode.threshold-pct''​ in ''​hdfs-site.xml''​.
 +
 +<​code>​
 +hdfs dfsadmin -safemode leave
 </​code>​ </​code>​