hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-14832) listing s3a bucket without credentials gives Interrupted error
Date Tue, 05 Sep 2017 03:46:00 GMT
John Zhuge created HADOOP-14832:

             Summary: listing s3a bucket without credentials gives Interrupted error
                 Key: HADOOP-14832
                 URL: https://issues.apache.org/jira/browse/HADOOP-14832
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs/s3
    Affects Versions: 3.0.0-beta1
            Reporter: John Zhuge
            Priority: Minor

In trunk pseudo distributed mode, without setting s3a credentials, listing an s3a bucket only
gives "Interrupted" error :
$ hadoop fs -ls s3a://bucket/
ls: Interrupted

In comparison, branch-2 gives a much better error message:
(branch-2)$ hadoop_env hadoop fs -ls s3a://bucket/
ls: doesBucketExist on hdfs-cce: com.amazonaws.AmazonClientException: No AWS Credentials provided
by BasicAWSCredentialsProvider EnvironmentVariableCredentialsProvider InstanceProfileCredentialsProvider
: com.amazonaws.SdkClientException: Unable to load credentials from service endpoint

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message