dragon created HDFS-10167:
-----------------------------
Summary: CLONE - Erasure Coding: when recovering lost blocks, logs
can be too verbose and hurt performance
Key: HDFS-10167
URL: https://issues.apache.org/jira/browse/HDFS-10167
Project: Hadoop HDFS
Issue Type: Sub-task
Reporter: dragon
Assignee: Rui Li
Fix For: HDFS-7285
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)