accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [1/2] accumulo git commit: ACCUMULO-3753 use Iterator.size to run over the metadata table
Date Mon, 27 Apr 2015 17:46:52 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.7 18650ac66 -> 1aea14c72


ACCUMULO-3753 use Iterator.size to run over the metadata table


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

Branch: refs/heads/1.7
Commit: 951257ac39290d50df06c134da76baecd7a0ebc9
Parents: ac08cc4
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Mon Apr 27 13:46:06 2015 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Mon Apr 27 13:46:06 2015 -0400

----------------------------------------------------------------------
 test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/951257ac/test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java b/test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java
index d124ce9..9a84512 100644
--- a/test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java
+++ b/test/src/test/java/org/apache/accumulo/proxy/SimpleProxyBase.java
@@ -125,7 +125,7 @@ public abstract class SimpleProxyBase extends SharedMiniClusterIT {
   private ByteBuffer creds = null;
 
   private void waitForAccumulo(Connector c) throws Exception {
-    Iterators.cycle(c.createScanner(MetadataTable.NAME, Authorizations.EMPTY));
+    Iterators.size(c.createScanner(MetadataTable.NAME, Authorizations.EMPTY).iterator());
   }
 
   @Before


Mime
View raw message