You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2024/03/22 14:45:00 UTC

[jira] [Updated] (HDDS-10570) dfs -touch creates directory instead of empty file in FSO bucket

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

Attila Doroszlai updated HDDS-10570:
------------------------------------
    Component/s: S3

> dfs -touch creates directory instead of empty file in FSO bucket
> ----------------------------------------------------------------
>
>                 Key: HDDS-10570
>                 URL: https://issues.apache.org/jira/browse/HDDS-10570
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Filesystem, S3
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> {code}
> $ ozone sh bucket create --layout FILE_SYSTEM_OPTIMIZED /s3v/fso-bucket
> $ hdfs dfs -touch s3a://fso-bucket/empty.s3a
> $ ozone sh key info /s3v/fso-bucket/empty.s3a
> {
> ...
>   "name" : "empty.s3a/",
>   "dataSize" : 0,
> ...
>   "ozoneKeyLocations" : [ ],
>   "file" : false
> }
> {code}
> The same works OK in OBJECT_STORE and LEGACY buckets.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org