You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "TongMingda (Jira)" <ji...@apache.org> on 2022/11/25 08:23:00 UTC

[jira] [Created] (HADOOP-18537) S3A create(Path f, FsPermission permission) need create target middle directories?

TongMingda created HADOOP-18537:
-----------------------------------

             Summary: S3A create(Path f, FsPermission permission)  need create target middle directories?
                 Key: HADOOP-18537
                 URL: https://issues.apache.org/jira/browse/HADOOP-18537
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs/s3
            Reporter: TongMingda


I see the code of s3a create(Path f, etc) which does not create target middle directories,

So whether exist this one case in which I create only one file  "/a/b/c.txt", It can get "b" as a directory by list "/a/", but If we delete this key "/a/b/c.txt",  "a" and "b" directories are all gone disappear.  

In the end, I want to ask two questions

1) Whether HCFS interface create(Path f, etc) need to create target middle directories inside?(sorry did not find doc to say about this)

2) If not create target middle directories inside, Is the object storage(s3a) scenario described above plausible?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org