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

Possible NPE in S3A MultiObjectDeleteSupport error handling

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.1
    • fs/s3
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h