hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shen Yinjie (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-13222) s3a.mkdirs() to delete empty fake parent directories
Date Fri, 29 Jul 2016 08:36:20 GMT

    [ 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:36 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}}, it will only work on the file {{aa/bb}},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 for s3a .

> 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


Mime
View raw message