hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rui Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8920) Erasure Coding: when recovering lost blocks, logs can be too verbose and hurt performance
Date Wed, 19 Aug 2015 01:55:46 GMT
Rui Li created HDFS-8920:
----------------------------

             Summary: Erasure Coding: when recovering lost blocks, logs can be too verbose
and hurt performance
                 Key: HDFS-8920
                 URL: https://issues.apache.org/jira/browse/HDFS-8920
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Rui Li


When we test reading data with datanodes killed, {{DFSInputStream::getBestNodeDNAddrPair}}
becomes a hot spot method and effectively blocks the client JVM. This log seems too verbose:
{code}
    if (chosenNode == null) {
      DFSClient.LOG.warn("No live nodes contain block " + block.getBlock() +
          " after checking nodes = " + Arrays.toString(nodes) +
          ", ignoredNodes = " + ignoredNodes);
      return null;
    }
{code}



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

Mime
View raw message