[jira] [Updated] (HADOOP-8110) TestViewFsTrash occasionally fails

2012-07-03 Thread Daryn Sharp (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-8110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daryn Sharp updated HADOOP-8110:


  Resolution: Fixed
   Fix Version/s: 2.0.1-alpha
  0.24.0
  0.23.3
Target Version/s: 0.23.3, 0.24.0, 2.0.1-alpha  (was: 0.23.3, 2.0.1-alpha)
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

 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
Assignee: Jason Lowe
 Fix For: 0.23.3, 0.24.0, 2.0.1-alpha

 Attachments: HADOOP-8110.patch, HADOOP-8110.patch, 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




[jira] [Updated] (HADOOP-8110) TestViewFsTrash occasionally fails

2012-06-29 Thread Jason Lowe (JIRA)

 [ 
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

Jenkins crashed during build, so uploading same patch to kick it again.  No 
unit tests since this is fixing a test.

I manually tested it and verified that ~/.Trash had checkpoint directories with 
-# suffixes, since the test usually generates multiple checkpoints in the same 
second.

 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
Assignee: Jason Lowe
 Attachments: HADOOP-8110.patch, HADOOP-8110.patch, 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




[jira] [Updated] (HADOOP-8110) TestViewFsTrash occasionally fails

2012-06-28 Thread Jason Lowe (JIRA)

 [ 
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




[jira] [Updated] (HADOOP-8110) TestViewFsTrash occasionally fails

2012-06-28 Thread Jason Lowe (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-8110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Lowe updated HADOOP-8110:
---

Assignee: Jason Lowe
Target Version/s: 0.23.3, 2.0.1-alpha  (was: 0.23.3)
  Status: Patch Available  (was: Open)

 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
Assignee: Jason Lowe
 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




[jira] [Updated] (HADOOP-8110) TestViewFsTrash occasionally fails

2012-06-28 Thread Jason Lowe (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-8110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Lowe updated HADOOP-8110:
---

Status: Open  (was: Patch Available)

On second thought, we should be able to eliminate the race and make this more 
robust by preventing the rename from succeeding if the destination name exists. 
 If we collide during the checkpoint rename, we can simply retry with an 
attempt suffix to search for a unique name.

 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
Assignee: Jason Lowe
 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




[jira] [Updated] (HADOOP-8110) TestViewFsTrash occasionally fails

2012-06-28 Thread Jason Lowe (JIRA)

 [ 
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 that checks for renames to an existing path and retries with a -# suffix 
looking for a unique path.

 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
Assignee: Jason Lowe
 Attachments: HADOOP-8110.patch, 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




[jira] [Updated] (HADOOP-8110) TestViewFsTrash occasionally fails

2012-06-28 Thread Jason Lowe (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-8110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Lowe updated HADOOP-8110:
---

Status: Patch Available  (was: Open)

 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
Assignee: Jason Lowe
 Attachments: HADOOP-8110.patch, 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




[jira] [Updated] (HADOOP-8110) TestViewFsTrash occasionally fails

2012-02-24 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-8110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HADOOP-8110:
---

Description: 
{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/].


  was:
{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}
See 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/].



 TestViewFsTrash occasionally fails
 --

 Key: HADOOP-8110
 URL: https://issues.apache.org/jira/browse/HADOOP-8110
 Project: Hadoop Common
  Issue Type: Bug
  Components: fs
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