Package org.apache.accumulo.minicluster
Class MiniAccumuloRunner
java.lang.Object
org.apache.accumulo.minicluster.MiniAccumuloRunner
A runner for starting up a
MiniAccumuloCluster
from the command line using an optional
configuration properties file. An example property file looks like the following:
rootPassword=secret instanceName=testInstance numTServers=1 zooKeeperPort=3191 jdwpEnabled=true zooKeeperMemory=128M tserverMemory=256M masterMemory=128M defaultMemory=256M shutdownPort=4446 site.instance.secret=HUSHAll items in the properties file above are optional and a default value will be provided in their absence. Any site configuration properties (typically found in the accumulo-site.xml file) should be prefixed with "site." in the properties file.
- Since:
- 1.6.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Runs theMiniAccumuloCluster
given a -p argument with a property file.
-
Constructor Details
-
MiniAccumuloRunner
public MiniAccumuloRunner()
-
-
Method Details
-
main
Runs theMiniAccumuloCluster
given a -p argument with a property file. Establishes a shutdown port for asynchronous operation.- Parameters:
args
- An optional -p argument can be specified with the path to a valid properties file.- Throws:
IOException
InterruptedException
-