[ https://issues.apache.org/jira/browse/HADOOP-8110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Lowe updated HADOOP-8110: ------------------------------- Attachment: HADOOP-8110.patch Patch to change the trash checkpoint name to include millisecond resolution. Race is still there, but the window is 1000x smaller. > 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 > Attachments: HADOOP-8110.patch > > > {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