[jira] [Resolved] (HADOOP-16742) Possible NPE in S3A MultiObjectDeleteSupport error handling

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (HADOOP-16742) Possible NPE in S3A MultiObjectDeleteSupport error handling

ASF GitHub Bot (Jira)

     [ https://issues.apache.org/jira/browse/HADOOP-16742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran resolved HADOOP-16742.
-------------------------------------
    Fix Version/s: 3.3.1
       Resolution: Fixed

fixed in branch-3.3 & trunk. Original patch wouldn't apply but I pasted the change into a fork off trunk, retested against s3 london, then cherrypicked to 3.3

thanks

> Possible NPE in S3A MultiObjectDeleteSupport error handling
> -----------------------------------------------------------
>
>                 Key: HADOOP-16742
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16742
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.3.0
>         Environment:  non-AWS S3 endpoint/mock endpoint
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>             Fix For: 3.3.1
>
>
> Reported in a github PR https://github.com/apache/hadoop/pull/1688 by Tor Arvid Lund
> bq. I've hit an issue where a DeleteObjects request using LocalStack causes a NullPointerException in the translateDeleteException function. error.getCode() can return null, and if there is more than one error returned by deleteException.getErrors(), this will cause the NPE.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]