Arpit Agarwal created HDFS-11054:
------------------------------------

             Summary: Suppress verbose log message in 
BlockPlacementPolicyDefault
                 Key: HDFS-11054
                 URL: https://issues.apache.org/jira/browse/HDFS-11054
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Arpit Agarwal
            Assignee: Chen Liang


We saw an instance where this log message was generated millions of times in a 
short time interval, slowing the NameNode to a crawl. It can probably be 
changed to log at DEBUG level instead.

{code}
      if (cur == null) {
        LOG.warn("No excess replica can be found. excessTypes: "+excessTypes+
            ". moreThanOne: "+moreThanOne+". exactlyOne: "+exactlyOne+".");
        break;
      }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to