[
https://issues.apache.org/jira/browse/HDFS-7401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arshad Mohammad updated HDFS-7401:
----------------------------------
Attachment: HDFS-7401-2.patch
Re-based the existing patch
> 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
> Assignee: Arshad Mohammad
> Priority: Minor
> Attachments: HDFS-7401-2.patch, HDFS-7401.patch
>
>
> 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)