hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Demoor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11918) Listing an empty s3a root directory throws FileNotFound.
Date Fri, 18 Sep 2015 10:41:05 GMT

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

Thomas Demoor updated HADOOP-11918:
-----------------------------------
    Attachment: HADOOP-11918-003.patch

I uploaded patch-003, which is what we are running. Feel free to rework as you see fit.

In this patch [~PieterReuse] has already addressed Steve's request to make the test apply
to all filesystems by adding it to {{AbstractContractRootDirectoryTest}}. The test deletes
all files in the root dir to assure it is empty before we test the listing code. Therefore,
extra care was taken via {{skipIfUnsupported()}} similar to the other tests in this class.

> Listing an empty s3a root directory throws FileNotFound.
> --------------------------------------------------------
>
>                 Key: HADOOP-11918
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11918
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 2.7.0
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>            Priority: Minor
>              Labels: BB2015-05-TBR, s3
>         Attachments: HADOOP-11918-002.patch, HADOOP-11918-003.patch, HADOOP-11918.000.patch,
HADOOP-11918.001.patch
>
>
> With an empty s3 bucket and run
> {code}
> $ hadoop fs -D... -ls s3a://hdfs-s3a-test/
> 15/05/04 15:21:34 WARN util.NativeCodeLoader: Unable to load native-hadoop library for
your platform... using builtin-java classes where applicable
> ls: `s3a://hdfs-s3a-test/': No such file or directory
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message