[jira] [Commented] (HADOOP-8978) TestTrash fails on Windows

2018-03-19 Thread JIRA

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

Íñigo Goiri commented on HADOOP-8978:
-

This is currently failing again with a related error:
{code}
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at 
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:135)
at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3353)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:124)
at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3403)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3371)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:477)
at org.apache.hadoop.fs.FileSystem.getLocal(FileSystem.java:433)
at org.apache.hadoop.fs.TestTrash.testTrashEmptier(TestTrash.java:618)
...
Caused by: java.lang.NullPointerException
at org.apache.hadoop.fs.Path.(Path.java:146)
at org.apache.hadoop.fs.Path.makeQualified(Path.java:540)
at org.apache.hadoop.fs.FileSystem.makeQualified(FileSystem.java:589)
at 
org.apache.hadoop.fs.TestTrash$TestLFS$1.getInitialWorkingDirectory(TestTrash.java:691)
at 
org.apache.hadoop.fs.RawLocalFileSystem.(RawLocalFileSystem.java:73)
at org.apache.hadoop.fs.TestTrash$TestLFS$1.(TestTrash.java:688)
at org.apache.hadoop.fs.TestTrash$TestLFS.(TestTrash.java:688)
at org.apache.hadoop.fs.TestTrash$TestLFS.(TestTrash.java:685)
{code}
I'll open a new JIRA if nobody has comments on this.

> TestTrash fails on Windows
> --
>
> Key: HADOOP-8978
> URL: https://issues.apache.org/jira/browse/HADOOP-8978
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: fs
>Affects Versions: trunk-win
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>Priority: Major
> Fix For: trunk-win
>
> Attachments: HADOOP-8978-branch-trunk-win.patch
>
>
> The tests assert that a file is found in trash after deleting, but it's not 
> found when run on Windows.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (HADOOP-8978) TestTrash fails on Windows

2012-10-31 Thread Brandon Li (JIRA)

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

Brandon Li commented on HADOOP-8978:


+1, the patch looks good to me.

> TestTrash fails on Windows
> --
>
> Key: HADOOP-8978
> URL: https://issues.apache.org/jira/browse/HADOOP-8978
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: fs
>Affects Versions: trunk-win
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
> Attachments: HADOOP-8978-branch-trunk-win.patch
>
>
> The tests assert that a file is found in trash after deleting, but it's not 
> found when run on Windows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HADOOP-8978) TestTrash fails on Windows

2012-10-26 Thread Chris Nauroth (JIRA)

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

Chris Nauroth commented on HADOOP-8978:
---

This is failing due to some code missing from the branch-1-win merge.  On 
branch-1-win, see Trash.makeTrashRelativePath and Path.mergePaths.  We'll have 
to port this code into the new TrashPolicy class hierarchy on trunk.

This problem also causes TestViewFsTrash to fail.


> TestTrash fails on Windows
> --
>
> Key: HADOOP-8978
> URL: https://issues.apache.org/jira/browse/HADOOP-8978
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: fs
>Affects Versions: trunk-win
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>
> The tests assert that a file is found in trash after deleting, but it's not 
> found when run on Windows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HADOOP-8978) TestTrash fails on Windows

2012-10-24 Thread Chris Nauroth (JIRA)

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

Chris Nauroth commented on HADOOP-8978:
---

{code}
Running org.apache.hadoop.fs.TestTrash
Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 15.735 sec <<< 
FAILURE!
testTrash(org.apache.hadoop.fs.TestTrash)  Time elapsed: 125 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Could not find file in trash: 
file:/C:/hdc/hadoop-common-project/hadoop-common/target/test/data/testTrash/user/test/.Trash/Current/C:/hdc/hadoop-common-project/hadoop-common/target/test/data/testTrash/test/mkdirs/myFile
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.apache.hadoop.fs.TestTrash.checkTrash(TestTrash.java:59)
at org.apache.hadoop.fs.TestTrash.trashShell(TestTrash.java:170)
at org.apache.hadoop.fs.TestTrash.trashShell(TestTrash.java:100)
at org.apache.hadoop.fs.TestTrash.testTrash(TestTrash.java:499)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
{code}


> TestTrash fails on Windows
> --
>
> Key: HADOOP-8978
> URL: https://issues.apache.org/jira/browse/HADOOP-8978
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: fs
>Affects Versions: trunk-win
>Reporter: Chris Nauroth
>Assignee: Chris Nauroth
>
> The tests assert that a file is found in trash after deleting, but it's not 
> found when run on Windows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira