hadoop-hdfs-issues mailing list archives

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

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

legend commented on HDFS-12318:
-------------------------------

hi [~jzhuge]
Update patch address your comments, and add a try-with-resource.
*         FSDataOutputStream  fout is closed upon exception, using try-with-resource.

The failed tests are not related to the patch.

> 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.001.patch, HDFS-12318.002.patch, HDFS-12318.003.patch,
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