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/11/16 12:37:00 UTC

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

     [ https://issues.apache.org/jira/browse/HADOOP-17323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-17323:
------------------------------------
    Priority: Minor  (was: Major)

> 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
>            Priority: Minor
>
> 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