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

Gabor Bota commented on HADOOP-16201:
-------------------------------------

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
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to