Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.8.0, 3.0.0-alpha2
-
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.