hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Finger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8110) TestViewFsTrash occasionally fails
Date Wed, 23 May 2012 18:41:41 GMT

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

Jay Finger commented on HADOOP-8110:
------------------------------------

I frequently see the same failure. I don't normally spend time in the HDFS code so am embarrassed
to say that I haven't really tried to troubleshoot this.

Assertion is same as mentioned above. Here's the test's "-output.txt" file, in case this rings
a bell for somebody:

{noformat}
2012-05-23 11:49:50,858 INFO  mortbay.log (Slf4jLog.java:info(67)) - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log)
via org.mortbay.log.Slf4jLog
2012-05-23 11:49:50,863 INFO  mortbay.log (Slf4jLog.java:info(67)) - Home dir base /home
2012-05-23 11:49:50,912 WARN  util.NativeCodeLoader (NativeCodeLoader.java:<clinit>(62))
- Unable to load native-hadoop library for your platform... using builtin-java classes where
applicable
2012-05-23 11:49:51,005 INFO  fs.TrashPolicyDefault (TrashPolicyDefault.java:deleteCheckpoint(198))
- Deleted trash checkpoint: /home/jfinger/.Trash/120209191848
2012-05-23 11:49:51,007 INFO  fs.TrashPolicyDefault (TrashPolicyDefault.java:createCheckpoint(162))
- Created trash checkpoint: /home/jfinger/.Trash/120523114951
Moved: 'viewfs:/home/jfinger/hadoop-2.0.0-alpha-src/hadoop-common-project/hadoop-common/target/test/data/test/test/mkdirs/myFile'
to trash at: file:/home/jfinger/.Trash/Current
Moved: 'viewfs:/home/jfinger/hadoop-2.0.0-alpha-src/hadoop-common-project/hadoop-common/target/test/data/test/test/mkdirs/myFile'
to trash at: file:/home/jfinger/.Trash/Current
rmr: DEPRECATED: Please use 'rm -r' instead.
Moved: 'viewfs:/home/jfinger/hadoop-2.0.0-alpha-src/hadoop-common-project/hadoop-common/target/test/data/test/test/mkdirs'
to trash at: file:/home/jfinger/.Trash/Current
rmr: DEPRECATED: Please use 'rm -r' instead.
Moved: 'viewfs:/home/jfinger/hadoop-2.0.0-alpha-src/hadoop-common-project/hadoop-common/target/test/data/test/test/mkdirs'
to trash at: file:/home/jfinger/.Trash/Current
Deleted file:///home/jfinger/.Trash/Current/toErase
2012-05-23 11:49:51,121 INFO  fs.TrashPolicyDefault (TrashPolicyDefault.java:createCheckpoint(162))
- Created trash checkpoint: /home/jfinger/.Trash/120523114951
Moved: 'viewfs:/home/jfinger/hadoop-2.0.0-alpha-src/hadoop-common-project/hadoop-common/target/test/data/test/test/mkdirs/myFile'
to trash at: file:/home/jfinger/.Trash/Current
rmr: DEPRECATED: Please use 'rm -r' instead.
Moved: 'viewfs:/home/jfinger/hadoop-2.0.0-alpha-src/hadoop-common-project/hadoop-common/target/test/data/test/test/mkdirs'
to trash at: file:/home/jfinger/.Trash/Current
rmr: DEPRECATED: Please use 'rm -r' instead.
rmr: Cannot move "file:/home/jfinger" to the trash, as it contains the trash. Consider using
-skipTrash option
expunge: Target /home/jfinger/.Trash/120523114951/Current is a directory
{noformat}

                
> TestViewFsTrash occasionally fails
> ----------------------------------
>
>                 Key: HADOOP-8110
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8110
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.23.3, 0.24.0
>            Reporter: Tsz Wo (Nicholas), SZE
>
> {noformat}
> junit.framework.AssertionFailedError: -expunge failed expected:<0> but was:<1>
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.failNotEquals(Assert.java:283)
> 	at junit.framework.Assert.assertEquals(Assert.java:64)
> 	at junit.framework.Assert.assertEquals(Assert.java:195)
> 	at org.apache.hadoop.fs.TestTrash.trashShell(TestTrash.java:322)
> 	at org.apache.hadoop.fs.viewfs.TestViewFsTrash.testTrash(TestViewFsTrash.java:73)
> 	...
> {noformat}
> There are quite a few TestViewFsTrash failures recently.  E.g. [build #624 for trunk|https://builds.apache.org/job/PreCommit-HADOOP-Build/624//testReport/org.apache.hadoop.fs.viewfs/TestViewFsTrash/testTrash/]
and [build #2 for 0.23-PB|https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-Common-0.23-PB-Build/2/testReport/junit/org.apache.hadoop.fs.viewfs/TestViewFsTrash/testTrash/].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message