hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3927) DFSInputStream#blockSeekTo may print incorrect warn msg for IOException
Date Wed, 12 Sep 2012 07:55:08 GMT

     [ https://issues.apache.org/jira/browse/HDFS-3927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jing Zhao updated HDFS-3927:
----------------------------

    Status: Patch Available  (was: Open)
    
> 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
>         Attachments: HDFS-3927.patch
>
>
> 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

Mime
View raw message