[
https://issues.apache.org/jira/browse/HADOOP-18968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran updated HADOOP-18968:
------------------------------------
Component/s: fs/s3
> S3A FileSystem does not correctly list empty directories after HADOOP-17199
> ---------------------------------------------------------------------------
>
> Key: HADOOP-18968
> URL: https://issues.apache.org/jira/browse/HADOOP-18968
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/s3
> Affects Versions: 3.2.4
> Reporter: Max Xie
> Priority: Major
> Attachments: image-2023-11-10-16-36-53-337.png
>
>
> After HADOOP-17199, s3a filesystem dose not correctly ls empty directories.
> For example.
> Before HADOOP-17199
> ```
> hdfs dfs -ls s3a://testbucket/dir/empty
>
> // work right
> ```
>
> After HADOOP-17199
> ```
> hdfs dfs -ls s3a://testbucket/dir/empty
> ls: `s3a://testbucket/dir/empty': No such file or directory
>
> // wrong ouput
> ```
>
> After Check the code, s3a empty folder don't have prefixes Or objects, it
> whil throw FIleNotFouldException.
> !image-2023-11-10-16-36-53-337.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]