public class MiniAccumuloRunner extends Object
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
MiniAccumuloRunner.Opts |
static class |
MiniAccumuloRunner.PropertiesConverter |
| Constructor and Description |
|---|
MiniAccumuloRunner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Runs the
MiniAccumuloCluster given a -p argument with a property file. |
public static void main(String[] args) throws IOException, InterruptedException
MiniAccumuloCluster given a -p argument with a property file. Establishes a
shutdown port for asynchronous operation.args - An optional -p argument can be specified with the path to a valid properties file.IOExceptionInterruptedExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.