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/08/18 19:58:20 UTC

[jira] [Commented] (HADOOP-13517) TestS3NContractRootDir.testRecursiveRootListing failing

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

Steve Loughran commented on HADOOP-13517:
-----------------------------------------

{code}
Running org.apache.hadoop.fs.contract.s3a.TestS3AContractRootDirTests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 188.216 sec - in org.apache.hadoop.fs.contract.s3a.TestS3AContractRootDirRunning org.apache.hadoop.fs.contract.s3n.TestS3NContractRootDirTests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 32.057 sec <<< FAILURE! - in org.apache.hadoop.fs.contract.s3n.TestS3NContractRootDirtestRecursiveRootListing(org.apache.hadoop.fs.contract.s3n.TestS3NContractRootDir)  Time elapsed: 5.022 sec  <<< ERROR! java.lang.IllegalArgumentException: Can not create a Path from an empty string
	at org.apache.hadoop.fs.Path.checkPathArg(Path.java:163)
	at org.apache.hadoop.fs.Path.<init>(Path.java:175)
	at org.apache.hadoop.fs.Path.<init>(Path.java:120)
	at org.apache.hadoop.fs.s3native.NativeS3FileSystem.listStatus(NativeS3FileSystem.java:589)
	at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1539)
	at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1582)
	at org.apache.hadoop.fs.FileSystem$4.<init>(FileSystem.java:1744)
	at org.apache.hadoop.fs.FileSystem.listLocatedStatus(FileSystem.java:1743)
	at org.apache.hadoop.fs.FileSystem.listLocatedStatus(FileSystem.java:1726)
	at org.apache.hadoop.fs.FileSystem$6.<init>(FileSystem.java:1825)
	at org.apache.hadoop.fs.FileSystem.listFiles(FileSystem.java:1821)
	at org.apache.hadoop.fs.contract.AbstractContractRootDirectoryTest.testRecursiveRootListing(AbstractContractRootDirectoryTest.java:171)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
Running org.apache.hadoop.fs.s3a.TestS3ABlockingThreadPoolTests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.659 sec - in org.apache.hadoop.fs.s3a.TestS3ABlockingThreadPoolRunning org.apache.hadoop.fs.s3a.TestS3AFastOutputStream
{code}

Looking at the stack, it's {{new Path("")}} which is failing

> TestS3NContractRootDir.testRecursiveRootListing failing
> -------------------------------------------------------
>
>                 Key: HADOOP-13517
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13517
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>
> while doing s3a tests against trunk, one of the S3n tests, {{TestS3NContractRootDir.testRecursiveRootListing}} failed. 
> This may be a failure of recursive listing of an empty root directory; it's transient because of deletion inconsistencies means the problem doesn't
> always surface



--
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