Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hdfs_dfs [2016/02/23 18:07] 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 122: | Line 124: | ||
** Disable safe mode ** | ** Disable safe mode ** | ||
- | HDFS will set itself into safe mode if the set number of possible nodes to fail have failed. See ''dfs.namenode.safemode.threshold-pct'' in ''hdfs-site.xml''. | + | 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> | <code> | ||
hdfs dfsadmin -safemode leave | hdfs dfsadmin -safemode leave | ||
</code> | </code> |