Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11694 Über-jira: S3a phase II: robustness, scale and performance
  3. HADOOP-13158

S3AFileSystem#toString might throw NullPointerException due to null cannedACL.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • fs/s3
    • None

    Description

      The cannedACL field of S3AFileSystem can be null. The toString implementation has an unguarded call to cannedACL.toString(), so there is a risk of NullPointerException.

      Attachments

        1. HADOOP-13158.001.patch
          0.9 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: