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 "Shen Yinjie (JIRA)" <ji...@apache.org> on 2016/07/29 08:26:20 UTC
[jira] [Comment Edited] (HADOOP-13222) s3a.mkdirs() to delete empty
fake parent directories
[ https://issues.apache.org/jira/browse/HADOOP-13222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15398947#comment-15398947 ]
Shen Yinjie edited comment on HADOOP-13222 at 7/29/16 8:25 AM:
---------------------------------------------------------------
I firstly create object {{aa/bb}} with aws-java-sdk, and it is not empty, it is ok to create object {{aa/bb/cc/dd}} (with sdk or hadoop shell). but when excute hadoop fs -ls and -cat with {{aa/bb}}, something wrong will appear,though it is reasonable for s3a .
was (Author: shenyinjie):
I firstly create object {{aa/bb}} with aws-java-sdk, and it is not empty, it is ok to create object {{aa/bb/cc/dd}} (with sdk or hadoop shell). but when excute hadoop fs -ls and -cat with {{aa/bb}}, something wrong will appear,though it is reasonable in s3a itself.
> s3a.mkdirs() to delete empty fake parent directories
> ----------------------------------------------------
>
> Key: HADOOP-13222
> URL: https://issues.apache.org/jira/browse/HADOOP-13222
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Affects Versions: 2.7.2
> Reporter: Steve Loughran
> Priority: Minor
>
> {{S3AFileSystem.mkdirs()}} has a TODO comment: what do do about fake parent directories.
> The answer is: as with files, they should be deleted. This can be done asynchronously
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org