[
https://issues.apache.org/jira/browse/HADOOP-16767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergei Poganshev updated HADOOP-16767:
--------------------------------------
Description: 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. (was: Since only {{IOException}}
is getting caught in
[closeStream|[https://github.com/apache/hadoop/blob/trunk/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.)
> 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: Bug
> Affects Versions: 3.1.1
> Reporter: Sergei Poganshev
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]