Jing Zhao created HDFS-3927:
-------------------------------

             Summary: DFSInputStream#blockSeekTo may print incorrect warn msg 
for IOException
                 Key: HDFS-3927
                 URL: https://issues.apache.org/jira/browse/HDFS-3927
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Jing Zhao
            Assignee: Jing Zhao
            Priority: Minor


In DFSInputStream#blockSeekTo, for most IOExceptions (except 
InvalidEncryptionKeyException and InvalidBlockTokenException), the current code 
only prints "Failed to connect to targetAddr", which can be incorrect since 
there are other possible cases, e.g., the chosen node (remote/local) can be 
connected but the block/replica cannot be found. The correct error msg 
(including the error msg from remote node) should be printed to log.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to