You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2013/10/29 18:31:43 UTC

git commit: ACCUMULO-1823 deal with hadoop-2.2 throwing an exception

Updated Branches:
  refs/heads/master fb25913c5 -> 71934fb42


ACCUMULO-1823 deal with hadoop-2.2 throwing an exception


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/71934fb4
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/71934fb4
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/71934fb4

Branch: refs/heads/master
Commit: 71934fb42e9e79feec334bd0fc7317092a6606ec
Parents: fb25913
Author: Eric Newton <er...@gmail.com>
Authored: Tue Oct 29 13:31:42 2013 -0400
Committer: Eric Newton <er...@gmail.com>
Committed: Tue Oct 29 13:32:01 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/test/functional/CloneTestIT.java | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/71934fb4/test/src/test/java/org/apache/accumulo/test/functional/CloneTestIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/functional/CloneTestIT.java b/test/src/test/java/org/apache/accumulo/test/functional/CloneTestIT.java
index f5c392f..38a764f 100644
--- a/test/src/test/java/org/apache/accumulo/test/functional/CloneTestIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/functional/CloneTestIT.java
@@ -157,8 +157,11 @@ public class CloneTestIT extends SimpleMacIT {
     // delete the table
     c.tableOperations().delete(table3);
     // verify its gone from the file system
-    status = fs.listStatus(new Path(rootPath() + "/accumulo/tables/" + id));
-    assertTrue(status == null || status.length == 0);
+    Path tablePath = new Path(rootPath() + "/accumulo/tables/" + id);
+    if (fs.exists(tablePath)) {
+      status = fs.listStatus(tablePath);
+      assertTrue(status == null || status.length == 0);
+    }
 
     c.tableOperations().create(table1);