Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16829 Über-jira: S3A Hadoop 3.4 features
  3. HADOOP-16742

Possible NPE in S3A MultiObjectDeleteSupport error handling

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: fs/s3
    • Labels:
      None
    • Environment:

      non-AWS S3 endpoint/mock endpoint

      Description

      Reported in a github PR https://github.com/apache/hadoop/pull/1688 by Tor Arvid Lund

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: