accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject accumulo git commit: ACCUMULO-3871 use the correct filesystem
Date Thu, 04 Jun 2015 16:56:27 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 99820faf4 -> 0788cb5eb


ACCUMULO-3871 use the correct filesystem


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

Branch: refs/heads/master
Commit: 0788cb5eb728be2abcec5fa78a7c9ff054c694c9
Parents: 99820fa
Author: Eric Newton <eric.newton@gmail.com>
Authored: Thu Jun 4 10:00:44 2015 -0400
Committer: Eric Newton <eric.newton@gmail.com>
Committed: Thu Jun 4 10:00:44 2015 -0400

----------------------------------------------------------------------
 .../test/java/org/apache/accumulo/test/functional/TableIT.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/0788cb5e/test/src/test/java/org/apache/accumulo/test/functional/TableIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/functional/TableIT.java b/test/src/test/java/org/apache/accumulo/test/functional/TableIT.java
index 3061b87..09a0da3 100644
--- a/test/src/test/java/org/apache/accumulo/test/functional/TableIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/functional/TableIT.java
@@ -34,7 +34,6 @@ import org.apache.accumulo.core.data.impl.KeyExtent;
 import org.apache.accumulo.core.metadata.MetadataTable;
 import org.apache.accumulo.core.metadata.schema.MetadataSchema;
 import org.apache.accumulo.core.security.Authorizations;
-import org.apache.accumulo.core.util.CachedConfiguration;
 import org.apache.accumulo.harness.AccumuloClusterIT;
 import org.apache.accumulo.minicluster.impl.MiniAccumuloClusterImpl;
 import org.apache.accumulo.test.TestIngest;
@@ -90,7 +89,7 @@ public class TableIT extends AccumuloClusterIT {
     s.fetchColumnFamily(MetadataSchema.TabletsSection.DataFileColumnFamily.NAME);
     assertTrue(Iterators.size(s.iterator()) > 0);
 
-    FileSystem fs = FileSystem.get(CachedConfiguration.getInstance());
+    FileSystem fs = getCluster().getFileSystem();
     assertTrue(fs.listStatus(new Path(rootPath + "/accumulo/tables/" + id)).length > 0);
     to.delete(tableName);
     assertEquals(0, Iterators.size(s.iterator()));


Mime
View raw message