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 <[email protected]>
Authored: Fri Jul 25 21:19:32 2014 -0400
Committer: Chris Rohr <[email protected]>
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();

Reply via email to