hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Liang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12318) Fix IOException condition for openInfo in DFSInputStream
Date Fri, 18 Aug 2017 17:28:00 GMT

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

Chen Liang commented on HDFS-12318:
-----------------------------------

Seems this is a fairly tricky corner case, the check becomes problematic only when either
exactly the last retry succeeds, or {{retriesForLastBlockLength}} is configured to be 0. So
thanks [~legend-hua] for the nice catch! The patch LGTM. 

> 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