You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/05/06 05:33:26 UTC
[jira] [Updated] (HDFS-3927) DFSInputStream#blockSeekTo may print
incorrect warn msg for IOException
[ https://issues.apache.org/jira/browse/HDFS-3927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated HDFS-3927:
-----------------------------------
Labels: BB2015-05-TBR (was: )
> 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
> Labels: BB2015-05-TBR
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)