[
https://issues.apache.org/jira/browse/HDFS-4425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13560407#comment-13560407
]
project commented on HDFS-4425:
-------------------------------
Thanks Harsh, Do I need to add parameters in hdfs-site.xml and restart
service namenode.
+ public static final String DFS_NAMENODE_DU_RESERVED_KEY =
"dfs.namenode.resource.du.
reserved";
+ public static final long DFS_NAMENODE_DU_RESERVED_DEFAULT = 1024 *
1024 * 100; // 100 MB
> NameNode low on available disk space
> ------------------------------------
>
> Key: HDFS-4425
> URL: https://issues.apache.org/jira/browse/HDFS-4425
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 2.0.0-alpha
> Reporter: project
> Priority: Critical
>
> Hi,
> Namenode switches into safemode when it has low disk space on the root fs / i
> have to manually run a command to leave it. Below are log messages for low
> space on root / fs. Is there any parameter so that i can reduce reserved
> amount.
> 2013-01-21 01:22:52,217 WARN
> org.apache.hadoop.hdfs.server.namenode.NameNodeResourceChecker: Space
> available on volume '/dev/mapper/vg_lv_root' is 10653696, which is below the
> configured reserved amount 104857600
> 2013-01-21 01:22:52,218 WARN
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: NameNode low on
> available disk space. Entering safe mode.
> 2013-01-21 01:22:52,218 INFO org.apache.hadoop.hdfs.StateChange: STATE* Safe
> mode is ON.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira