Re: org.apache.hadoop.security.AccessControlException: Permission denied when access S3

2015-08-27 Thread Akhil Das
Did you try with s3a? Also make sure your key does not have any wildcard chars in it. Thanks Best Regards On Fri, Aug 21, 2015 at 2:03 AM, Shuai Zheng wrote: > Hi All, > > > > I try to access S3 file from S3 in Hadoop file format: > > > > Below is my code: > > > > Configura

org.apache.hadoop.security.AccessControlException: Permission denied when access S3

2015-08-20 Thread Shuai Zheng
Hi All, I try to access S3 file from S3 in Hadoop file format: Below is my code: Configuration hadoopConf = ctx.hadoopConfiguration(); hadoopConf.set("fs.s3n.awsAccessKeyId", this.getAwsAccessKeyId()); hadoopConf.set("fs.s