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 "Steve Loughran (Jira)" <ji...@apache.org> on 2020/10/22 18:25:00 UTC

[jira] [Created] (HADOOP-17323) s3a getFileStatus("/") to skip IO

Steve Loughran created HADOOP-17323:
---------------------------------------

             Summary: s3a getFileStatus("/") to skip IO
                 Key: HADOOP-17323
                 URL: https://issues.apache.org/jira/browse/HADOOP-17323
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 3.3.0
            Reporter: Steve Loughran


Calls to "hadoop fs ls s3a://something/" add a full getFileStatus() sequence (HEAD, LIST, LIST) because FsShell Ls calls getFileStatus on every input. 

We should just build a root status entry immediately. There's one consequence: if a user has disabled the s3a existence probe, there will be no checks for the bucket existence. But that can be viewed as a "well, that's what happens" behaviour



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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