Ming Ma created HDFS-7401:
-----------------------------

             Summary: Add block info to DFSInputStream' WARN message when it 
adds node to deadNodes
                 Key: HDFS-7401
                 URL: https://issues.apache.org/jira/browse/HDFS-7401
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Ming Ma
            Priority: Minor


Block info is missing in the below message

{noformat}
2014-11-14 03:59:00,386 WARN org.apache.hadoop.hdfs.DFSClient: Failed to 
connect to /xx.xx.xx.xxx:50010 for block, add to deadNodes and continue. 
java.io.IOException: Got error for OP_READ_BLOCK
{noformat}

The code
{noformat}
DFSInputStream.java
          DFSClient.LOG.warn("Failed to connect to " + targetAddr + " for block"
            + ", add to deadNodes and continue. " + ex, ex);
{noformat}




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

Reply via email to