[
https://issues.apache.org/jira/browse/HDDS-8437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17748116#comment-17748116
]
Mladjan Gadzic commented on HDDS-8437:
--------------------------------------
Steps to reproduce the issue:
# Start {{ozone}} Docker cluster
# Create bucket with {{FSO}} layout under {{/s3v}} volume
# Use Hadoop binary from 3.3.4 release
# Set next properies in {{core-site.xml}}
{code:java}
<property>
<name>fs.s3a.access.key</name>
<value>1</value>
</property>
<property>
<name>fs.s3a.secret.key</name>
<value>1</value>
</property>{code}
# Execute {{mkdir}} command from the root of Hadoop
{code:java}
bin/hdfs dfs -Dfs.s3a.access.key=1 -Dfs.s3a.secret.key=1
-Dfs.s3a.endpoint=http://localhost:9878 -Dfs.s3a.path.style.access=true -mkdir
s3a://fso/a1{code}
> [FSO] S3A compatibility - dfs -mkdir creates a zero byte file instead of a
> directory
> ------------------------------------------------------------------------------------
>
> Key: HDDS-8437
> URL: https://issues.apache.org/jira/browse/HDDS-8437
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Neil Joshi
> Assignee: Mladjan Gadzic
> Priority: Critical
>
> _*FSO*_ bucket layout. dfs -mkdir creates zero-byte file.
> Directories created by dfs -mkdir over s3a are zero byte files in ozone fso
> NOT directorys. Creates testdir which is zero-byte file.
> -rw-rw-rw- 1 hadoop hadoop 0 2023-03-16 22:52 s3a://fso/testdir
> expect
> drwxrwxrwx - hadoop hadoop 0 2023-03-16 23:45 s3a://fso/testdir
> a directory created.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]