[ 
https://issues.apache.org/jira/browse/HDFS-16243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421924#comment-17421924
 ] 

Renukaprasad C commented on HDFS-16243:
---------------------------------------

Thanks [~zhttylz] for the issue & the patch.

 

LOG.warn("Configured reserved space is higher than Disk capacity"); - Here can 
you print values as well.

I think you created patch for the specific version. Is it applicable to trunk 
as well?

Also, you can raise a PR, which will be easier for review & trace.

> The available disk space is less than the reserved space, and no log message 
> is displayed
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-16243
>                 URL: https://issues.apache.org/jira/browse/HDFS-16243
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 2.7.2
>            Reporter: Hualong Zhang
>            Priority: Major
>         Attachments: HDFS-16243.patch
>
>
> When I submitted a task to the hadoop test cluster, it appeared "could only 
> be replicated to 0 nodes instead of minReplication (=1)"
> I checked the namenode and datanode logs and did not find any error logs. It 
> was not until the use of dfsadmin -report that the available capacity was 0 
> and I realized that it may be a configuration problem.
> Checking the configuration found that the value of the 
> "dfs.datanode.du.reserved" configuration is greater than the available disk 
> space of HDFS, which caused this problem
> It seems that there should be some warnings or errors in the log.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to