You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2021/05/04 15:18:00 UTC

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

     [ 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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org