accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject git commit: ACCUMULO-2331 Remove unnecessary attempt at polling for configuration updates.
Date Thu, 06 Feb 2014 15:52:55 GMT
Updated Branches:
  refs/heads/2331-tableconfig 07384da27 -> 050ff39e6


ACCUMULO-2331 Remove unnecessary attempt at polling for configuration updates.

getTableProperties should flush the ZooCache before pulling the configuration
values from it and thus force communication to ZooKeeper. As such, there should
be no need to try to code around this.


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

Branch: refs/heads/2331-tableconfig
Commit: 050ff39e67204dfd1959d1a31efb34fefec124e2
Parents: 07384da
Author: Josh Elser <elserj@apache.org>
Authored: Thu Feb 6 10:51:14 2014 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Thu Feb 6 10:51:14 2014 -0500

----------------------------------------------------------------------
 proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/050ff39e/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java
----------------------------------------------------------------------
diff --git a/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java b/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java
index 6e591af..9dab290 100644
--- a/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java
+++ b/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java
@@ -1075,11 +1075,6 @@ public class SimpleTest {
     Map<String,String> orig = client.getTableProperties(creds, "test");
     client.setTableProperty(creds, "test", "table.split.threshold", "500M");
     Map<String,String> update = client.getTableProperties(creds, "test");
-    for (int i = 0; i < 5; i++) {
-      if (update.get("table.split.threshold").equals("500M"))
-        break;
-      UtilWaitThread.sleep(200);
-    }
     assertEquals(update.get("table.split.threshold"), "500M");
     client.removeTableProperty(creds, "test", "table.split.threshold");
     update = client.getTableProperties(creds, "test");


Mime
View raw message