Attila Doroszlai created HDDS-10570:
---------------------------------------
Summary: 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
Reporter: Attila Doroszlai
{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: [email protected]
For additional commands, e-mail: [email protected]