hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13271) Intermittent failure of TestS3AContractRootDir.testListEmptyRootDirectory
Date Fri, 08 Sep 2017 19:27:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16159161#comment-16159161
] 

Steve Loughran commented on HADOOP-13271:
-----------------------------------------

HADOOP-14851 is probably the reason we haven't fixed this: even though there's a loop, because
eventually() isn't looping around intercepts, there's no iteration when there's a (transient)
list inconsistency

> Intermittent failure of TestS3AContractRootDir.testListEmptyRootDirectory
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-13271
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13271
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3, test
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> I'm seeing an intermittent failure of {{TestS3AContractRootDir.testListEmptyRootDirectory}}
> The sequence of : deleteFiles(listStatus(Path("/)")) is failing because the file to delete
is root ...yet the code is passing in the children of /, not / itself.
> hypothesis: when you call listStatus on an empty root dir, you get a file entry back
that says isFile, not isDirectory.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message