[ 
https://issues.apache.org/jira/browse/HDFS-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravi Prakash updated HDFS-4862:
-------------------------------

    Attachment: HDFS-4862.branch-0.23.patch

Using junit asserts
                
> SafeModeInfo.isManual() returns true when resources are low even if it wasn't 
> entered into manually
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4862
>                 URL: https://issues.apache.org/jira/browse/HDFS-4862
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 0.23.7, 2.0.4-alpha
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>         Attachments: HDFS-4862.branch-0.23.patch, 
> HDFS-4862.branch-0.23.patch, HDFS-4862.branch-0.23.patch, HDFS-4862.patch, 
> HDFS-4862.patch, HDFS-4862.patch, HDFS-4862.patch, HDFS-4862.patch
>
>
> HDFS-1594 changed isManual to this
> {code}
> private boolean isManual() {
>   return extension == Integer.MAX_VALUE && !resourcesLow;
> }
> {code}
> One immediate impact of this is that when resources are low, the NN will 
> throw away all block reports from DNs. This is undesirable.

--
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

Reply via email to