You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/25 11:09:00 UTC
[jira] [Commented] (HADOOP-15409) S3AFileSystem.verifyBucketExists
to move to s3.doesBucketExistV2
[ https://issues.apache.org/jira/browse/HADOOP-15409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16452066#comment-16452066 ]
ASF GitHub Bot commented on HADOOP-15409:
-----------------------------------------
GitHub user lqjack opened a pull request:
https://github.com/apache/hadoop/pull/367
HADOOP-15409
change doesBucketExistV2 to verified the acl
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lqjack/hadoop HADOOP-15409
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hadoop/pull/367.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #367
----
commit 0c8af1b07cc9cde68f07fa84d88c191ae5aec6d8
Author: lqjaclee <lq...@...>
Date: 2018-04-25T11:07:15Z
HADOOP-15409
change doesBucketExistV2 to verified the acl
----
> S3AFileSystem.verifyBucketExists to move to s3.doesBucketExistV2
> ----------------------------------------------------------------
>
> Key: HADOOP-15409
> URL: https://issues.apache.org/jira/browse/HADOOP-15409
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Affects Versions: 3.1.0
> Reporter: Steve Loughran
> Priority: Major
>
> in S3AFileSystem.initialize(), we check for the bucket existing with verifyBucketExists(), which calls s3.doesBucketExist(). But that doesn't check for auth issues.
> s3. doesBucketExistV2() does at least validate credentials, and should be switched to. This will help things fail faster
> See SPARK-24000
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org