You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Yongjun Zhang (Jira)" <ji...@apache.org> on 2021/02/08 05:34:00 UTC

[jira] [Comment Edited] (HADOOP-16767) S3AInputStream reopening does not handle non IO exceptions properly

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

Yongjun Zhang edited comment on HADOOP-16767 at 2/8/21, 5:33 AM:
-----------------------------------------------------------------

Thanks [~spoganshev] for the work here.

Hi [~stevel@apache.org], in order to get HADOOP-17338 to 2.10 branch, I think it'd help to get this one in beforehand, I tested out both this one and HADOOP-17338 on hadoop-2.10 branch, and put the test result in [https://github.com/apache/hadoop/pull/2685|https://github.com/apache/hadoop/pull/2685,] , would you please help review? thanks a lot.


was (Author: yzhangal):
Thanks [~spoganshev] for the work here.

Hi [~stevel@apache.org], in order to get HADOOP-17338 to 2.10 branch, I think it'd help to get this one in beforehand, I tested out both this one and HADOOP-17338 on hadoop-2.10 branch, and put the test result in [https://github.com/apache/hadoop/pull/2685,] would you please help review? thanks a lot.

> S3AInputStream reopening does not handle non IO exceptions properly
> -------------------------------------------------------------------
>
>                 Key: HADOOP-16767
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16767
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 3.1.1
>            Reporter: Sergei Poganshev
>            Assignee: Sergei Poganshev
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.3.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Since only {{IOException}} is getting caught in [closeStream|https://github.com/apache/hadoop/blob/24080666e5e2214d4a362c889cd9aa617be5de81/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AInputStream.java#L579], {{reopen()}} fails in case {{SdkClientException}} occurs on a drain attempt. This leads to multiple failing retries of {{invoker.retry("read",...)}} and then the whole {{read()}} operation failing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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