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 "Steve Loughran (Jira)" <ji...@apache.org> on 2023/10/16 14:20:00 UTC

[jira] [Commented] (HADOOP-18939) NPE in AWS v2 SDK RetryOnErrorCodeCondition.shouldRetry()

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

Steve Loughran commented on HADOOP-18939:
-----------------------------------------

i can replicate this with MultiObjectDeleteException though it's not the one triggering this (external code). does mean it'll be easy for sdk team to fix, and we can correct in the hadoop code as an example to all

{code}
[ERROR] testMultiObjectExceptionFilledIn(org.apache.hadoop.fs.s3a.impl.TestErrorTranslation)  Time elapsed: 0.014 s  <<< ERROR!
java.lang.NullPointerException
        at software.amazon.awssdk.awscore.retry.conditions.RetryOnErrorCodeCondition.shouldRetry(RetryOnErrorCodeCondition.java:45)
        at org.apache.hadoop.fs.s3a.impl.TestErrorTranslation.testMultiObjectExceptionFilledIn(TestErrorTranslation.java:130)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
{code}


> NPE in AWS v2 SDK RetryOnErrorCodeCondition.shouldRetry()
> ---------------------------------------------------------
>
>                 Key: HADOOP-18939
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18939
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.4.0
>            Reporter: Steve Loughran
>            Priority: Critical
>
> NPE in error handling code of RetryOnErrorCodeCondition.shouldRetry(); in bundle-2.20.128.jar
> This is AWS SDK code; fix needs to go there. 
> {code}
> Caused by: java.lang.NullPointerException
> 	at software.amazon.awssdk.awscore.retry.conditions.RetryOnErrorCodeCondition.shouldRetry(RetryOnErrorCodeCondition.java:45) ~[bundle-2.20.128.jar:?]
> 	at software.amazon.awssdk.core.retry.conditions.OrRetryCondition.lambda$shouldRetry$0(OrRetryCondition.java:46) ~[bundle-2.20.128.jar:?]
> 	at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) ~[?:1.8.0_382]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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