Package org.apache.accumulo.minicluster
Class MiniAccumuloRunner
- java.lang.Object
-
- org.apache.accumulo.minicluster.MiniAccumuloRunner
-
public class MiniAccumuloRunner extends Object
A runner for starting up aMiniAccumuloCluster
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=HUSH
All 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
Nested Classes Modifier and Type Class Description static class
MiniAccumuloRunner.Opts
static class
MiniAccumuloRunner.PropertiesConverter
-
Constructor Summary
Constructors Constructor Description MiniAccumuloRunner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Runs theMiniAccumuloCluster
given a -p argument with a property file.
-
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException, InterruptedException
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
-
-