Shen Yinjie created HADOOP-13405:
------------------------------------
Summary: doc for “fs.s3a.acl.default” indicates wrong values
Key: HADOOP-13405
URL: https://issues.apache.org/jira/browse/HADOOP-13405
Project: Hadoop Common
Issue Type: Bug
Components: fs/s3
Affects Versions: 2.8.0, 3.0.0-alpha2
Reporter: Shen Yinjie
Priority: Minor
Fix For: 3.0.0-alpha2
description for "fs.s3a.acl.default" indicates its values are
"private,public-read....";
when set value be public-read,
{{No enum constant
com.amazonaws.services.s3.model.CannedAccessControlList.public-read}}
while in amazon-sdk ,
{code}
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");
{code}
so values should be enum values as "Private","PublicRead"...
attached simple patch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]