Ravi Prakash created HDFS-4862:
----------------------------------

             Summary: 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: 2.0.4-alpha, 0.23.7, 3.0.0
            Reporter: Ravi Prakash


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