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/11/23 13:52:59 UTC

[jira] [Commented] (HADOOP-13830) intermittent failure of ITestS3NContractRootDir.testRecursiveRootListing: "Can not create a Path from an empty string"

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

Steve Loughran commented on HADOOP-13830:
-----------------------------------------

{code}
testRecursiveRootListing(org.apache.hadoop.fs.contract.s3n.ITestS3NContractRootDir)  Time elapsed: 2.975 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:577)
	at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1602)
	at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1645)
	at org.apache.hadoop.fs.FileSystem$4.<init>(FileSystem.java:1808)
	at org.apache.hadoop.fs.FileSystem.listLocatedStatus(FileSystem.java:1807)
	at org.apache.hadoop.fs.FileSystem.listLocatedStatus(FileSystem.java:1790)
	at org.apache.hadoop.fs.FileSystem$5.<init>(FileSystem.java:1916)
	at org.apache.hadoop.fs.FileSystem.listFiles(FileSystem.java:1912)
	at org.apache.hadoop.fs.contract.AbstractContractRootDirectoryTest.testRecursiveRootListing(AbstractContractRootDirectoryTest.java:219)
	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)
testRmEmptyRootDirNonRecursive(org.apache.hadoop.fs.contract.s3n.ITestS3NContractRootDir)  Time elapsed: 2.296 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:577)
	at org.apache.hadoop.fs.contract.ContractTestUtils.listChildren(ContractTestUtils.java:427)
	at org.apache.hadoop.fs.contract.AbstractContractRootDirectoryTest.testRmEmptyRootDirNonRecursive(AbstractContractRootDirectoryTest.java:94)
	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)
{code}


> intermittent failure of ITestS3NContractRootDir.testRecursiveRootListing: "Can not create a Path from an empty string"
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-13830
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13830
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3, test
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>
> Surfaced in HADOOP-13518: Intermittent test failure of {{ITestS3NContractRootDir.testRecursiveRootListing}} and {{ITestS3NContractRootDir.testRmEmptyRootDirNonRecursive}}, error text "Can not create a Path from an empty string". 
> Looks like theres some confusion creating paths to subdirectories; I'd like to know what's happening before blindly skipping the situation of "empty subdirectory path"



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