accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-1823 deal with hadoop-2.2 throwing an exception
Date Tue, 29 Oct 2013 17:31:43 GMT
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 <eric.newton@gmail.com>
Authored: Tue Oct 29 13:31:42 2013 -0400
Committer: Eric Newton <eric.newton@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);
 


Mime
View raw message