VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0, 3.0.0-alpha2
    • 2.8.0, 3.0.0-alpha1
    • fs/s3
    • 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
          Steve Loughran
        2. HADOOP-13405.patch
          3 kB
          Shen Yinjie

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment