You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/06/14 15:13:01 UTC

[jira] [Commented] (HADOOP-13271) Intermittent failure of TestS3AContractRootDir.testListEmptyRootDirectory

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

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

{code}
java.io.IOException: Root directory operation rejected: s3a://steve-ireland/
	at org.apache.hadoop.fs.contract.ContractTestUtils.rejectRootOperation(ContractTestUtils.java:384)
	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:569)
	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:552)
	at org.apache.hadoop.fs.contract.AbstractContractRootDirectoryTest.testListEmptyRootDirectory(AbstractContractRootDirectoryTest.java:132)
	at org.apache.hadoop.fs.contract.s3a.TestS3AContractRootDir.testListEmptyRootDirectory(TestS3AContractRootDir.java:49)
{code}

Note this is happening with parallel execution, but in the sequential bit. Rerunning the test suiite standalone works.

> 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.3.4#6332)

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