XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0, 3.0.0-alpha2
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fs/s3
    • Labels:
      None

      Description

      description for "fs.s3a.acl.default" indicates its values are "private,public-read....";
      when set value be public-read,and excute 'hdfs dfs -ls s3a://hdfs/'
      -ls: No enum constant com.amazonaws.services.s3.model.CannedAccessControlList.public-read
      while in amazon-sdk ,

      public enum CannedAccessControlList {
        Private("private"),
        PublicRead("public-read"),
        PublicReadWrite("public-read-write"),
        AuthenticatedRead("authenticated-read"),
        LogDeliveryWrite("log-delivery-write"),
        BucketOwnerRead("bucket-owner-read"),
        BucketOwnerFullControl("bucket-owner-full-control"); 
      

      so values should be enum values as "Private","PublicRead"...
      attached simple patch.

        Attachments

        1. HADOOP-13405.patch
          3 kB
          Shen Yinjie
        2. HADOOP-13405.patch
          3 kB
          Steve Loughran

          Activity

            People

            • Assignee:
              shenyinjie Shen Yinjie
              Reporter:
              shenyinjie Shen Yinjie
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: