hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13757) Remove verifyBuckets overhead in S3AFileSystem::initialize()
Date Thu, 13 Jul 2017 18:43:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086195#comment-16086195
] 

Steve Loughran commented on HADOOP-13757:
-----------------------------------------

It does do a fast check that connectivity is up, and with s3guard there'll be other init actions
going on...

> Remove verifyBuckets overhead in S3AFileSystem::initialize()
> ------------------------------------------------------------
>
>                 Key: HADOOP-13757
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13757
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Rajesh Balamohan
>            Priority: Minor
>
> {{S3AFileSystem.initialize()}} invokes verifyBuckets, but in case the bucket does not
exist and gets a 403 error message, it ends up returning {{true}} for {{s3.doesBucketExists(bucketName}}.
 In that aspect,  verifyBuckets() is an unnecessary call during initialization. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message