incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cr...@apache.org
Subject git commit: Started up the MemoryReporter on a MiniCluster so we can get metrics if needed.
Date Sat, 26 Jul 2014 01:19:37 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master 355d14ff0 -> 029a509af


Started up the MemoryReporter on a MiniCluster so we can get metrics if needed.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/029a509a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/029a509a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/029a509a

Branch: refs/heads/master
Commit: 029a509af2898165ece18d3579d76070aa2224a9
Parents: 355d14f
Author: Chris Rohr <rohr.chris@gmail.com>
Authored: Fri Jul 25 21:19:32 2014 -0400
Committer: Chris Rohr <rohr.chris@gmail.com>
Committed: Fri Jul 25 21:19:32 2014 -0400

----------------------------------------------------------------------
 blur-core/src/test/java/org/apache/blur/MiniCluster.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/029a509a/blur-core/src/test/java/org/apache/blur/MiniCluster.java
----------------------------------------------------------------------
diff --git a/blur-core/src/test/java/org/apache/blur/MiniCluster.java b/blur-core/src/test/java/org/apache/blur/MiniCluster.java
index 3a2f826..7e85201 100644
--- a/blur-core/src/test/java/org/apache/blur/MiniCluster.java
+++ b/blur-core/src/test/java/org/apache/blur/MiniCluster.java
@@ -61,6 +61,7 @@ import org.apache.blur.thrift.generated.RowMutation;
 import org.apache.blur.thrift.generated.TableDescriptor;
 import org.apache.blur.thrift.util.BlurThriftHelper;
 import org.apache.blur.utils.BlurUtil;
+import org.apache.blur.utils.MemoryReporter;
 import org.apache.blur.zookeeper.ZkMiniCluster;
 import org.apache.blur.zookeeper.ZooKeeperClient;
 import org.apache.hadoop.conf.Configuration;
@@ -123,6 +124,7 @@ public class MiniCluster {
   }
 
   public void startBlurCluster(String path, int controllerCount, int shardCount, boolean
randomPort) {
+    MemoryReporter.enable();
     startDfs(path + "/hdfs");
     startZooKeeper(path + "/zk", randomPort);
     setupBuffers();


Mime
View raw message