Max Xie created HADOOP-18968:
---------------------------------
Summary: S3A FileSystem does not correctly ls empty directories
after HADOOP-17199
Key: HADOOP-18968
URL: https://issues.apache.org/jira/browse/HADOOP-18968
Project: Hadoop Common
Issue Type: Bug
Affects Versions: 3.2.4
Reporter: Max Xie
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]