hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12318) Fix IOException condition for openInfo in DFSInputStream
Date Mon, 21 Aug 2017 01:43:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134625#comment-16134625
] 

John Zhuge commented on HDFS-12318:
-----------------------------------

[~legend] Great catch and thanks for the patch. I will take a look.

BTW, could you add a unit test? I know unit test is tougher to write than the fix itself,
but it will make sure nobody will break your fix in the future.

> Fix IOException condition for openInfo in DFSInputStream
> --------------------------------------------------------
>
>                 Key: HDFS-12318
>                 URL: https://issues.apache.org/jira/browse/HDFS-12318
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0-beta1
>            Reporter: legend
>            Assignee: legend
>         Attachments: HDFS-12318.patch
>
>
> when retriesForLastBlockLength == 0 and lastBlockBeingWrittenLength != -1, "openInfo"
successfully obtains the last blcok locations, and the function still throws IOException.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message