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 "Gabor Bota (JIRA)" <ji...@apache.org> on 2019/03/22 12:47:00 UTC

[jira] [Issue Comment Deleted] (HADOOP-16201) S3AFileSystem#innerMkdirs builds needless lists

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

Gabor Bota updated HADOOP-16201:
--------------------------------
    Comment: was deleted

(was: Thanks for the pr [~ljain]. Indeed, this list is useless - nice find.

The question is that why we added this list in the first place? We can remove it for sure, but how would it change the behavior if we these directories would be added to the MS?)

> S3AFileSystem#innerMkdirs builds needless lists
> -----------------------------------------------
>
>                 Key: HADOOP-16201
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16201
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.2.0
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Trivial
>             Fix For: 3.3.0
>
>
> S3AFileSystem#innerMkdirs currently does not create parent directories. The code checks for the existence of the parent directories and if they do not exist, it adds them to metadataStoreDirs list. But this list is not used and therefore the parent directories are never created. Only the given directory path is created.



--
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