Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Invalid
-
2.8.0
-
None
-
None
Description
If you try to do unauthed write operations to an s3a repo, the failure can surface without the AmazonClientException being translated
bin/hadoop fs -D fs.s3a.aws.credentials.provider=org.apache.hadoop.fs.s3a.AnonymousAWSCredentialsProvider -rm s3a://landsat-pds/scene_list.gz 16/06/15 14:03:32 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 16/06/15 14:03:35 INFO Configuration.deprecation: io.bytes.per.checksum is deprecated. Instead, use dfs.bytes-per-checksum rm: s3a://landsat-pds/scene_list.gz: delete on s3a://landsat-pds/scene_list.gz: com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 0F2954E98D193227), S3 Extended Request ID: hpGyx9Snazi71vqxJcsLTr054aUO3+wu9fBEGgjbx0y41nMF6Xj5oyA+P9/0G6A6H93BsOtrDuM=