accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cjno...@apache.org
Subject git commit: ACCUMULO-1781 Adding miniDFS support to MACRunner. Adding sample property file
Date Thu, 17 Oct 2013 02:07:14 GMT
Updated Branches:
  refs/heads/master 929279c79 -> 45559c862


ACCUMULO-1781 Adding miniDFS support to MACRunner. Adding sample property file


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

Branch: refs/heads/master
Commit: 45559c862425462cfc3a786237608756181dd6df
Parents: 929279c
Author: Corey J. Nolet <cjnolet@gmail.com>
Authored: Wed Oct 16 22:07:27 2013 -0400
Committer: Corey J. Nolet <cjnolet@gmail.com>
Committed: Wed Oct 16 22:07:27 2013 -0400

----------------------------------------------------------------------
 minicluster/minicluster.properties                      | 12 ++++++++++++
 .../apache/accumulo/minicluster/MiniAccumuloRunner.java |  2 ++
 2 files changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/45559c86/minicluster/minicluster.properties
----------------------------------------------------------------------
diff --git a/minicluster/minicluster.properties b/minicluster/minicluster.properties
new file mode 100644
index 0000000..ba8f0b9
--- /dev/null
+++ b/minicluster/minicluster.properties
@@ -0,0 +1,12 @@
+useMiniDFS=true
+rootPassword=secret
+instanceName=testInstance
+numTServers=1
+zooKeeperPort=3191
+jdwpEnabled=true
+zooKeeperMemory=128M
+tserverMemory=256M
+masterMemory=128M
+defaultMemory=256M
+shutdownPort=4446
+site.instance.secret=HUSH
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/accumulo/blob/45559c86/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloRunner.java
----------------------------------------------------------------------
diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloRunner.java
b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloRunner.java
index 1402b53..12aa8c6 100644
--- a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloRunner.java
+++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloRunner.java
@@ -122,6 +122,8 @@ public class MiniAccumuloRunner {
       setMemoryOnConfig(config, opts.prop.getProperty("defaultMemory"));
     if (opts.prop.containsKey("shutdownPort"))
       shutdownPort = Integer.parseInt(opts.prop.getProperty("shutdownPort"));
+    if (opts.prop.containsKey("useMiniDFS"))
+      config.useMiniDFS(Boolean.parseBoolean(opts.prop.getProperty("useMiniDFS")));
     
     Map<String,String> siteConfig = new HashMap<String,String>();
     for (Map.Entry<Object,Object> entry : opts.prop.entrySet()) {


Mime
View raw message