accumulo
accumulo copied to clipboard
Make it easier to know how to set the advertised address for a server process
Is your feature request related to a problem? Please describe.
In Accumulo 2.x the help for the tablet server would show the following.
$accumulo tserver --help
Usage: tserver [options]
Options:
-a, --address
address to bind to
-h, -?, --help, -help
-p, -props, --props
Sets path to accumulo.properties.The classpath will be searched if this
property is not set
-o
Overrides configuration set in accumulo.properties (but NOT system-wide
config set in Zookeeper). Expected format: -o <key>=<value>
Default: []
Making it easy to know that you needed to run accumulo tsever -a aHostName to advertise the tserver process using aHostName.
In accumulo 4.0.0-SNAPSHOT running help shows the following.
$ ./accumulo tserver --help
Usage: tserver [options]
Options:
-h, -?, --help, -help
-p, -props, --props
Sets path to accumulo.properties.The classpath will be searched if this
property is not set
-o
Overrides configuration set in accumulo.properties (but NOT system-wide
config set in Zookeeper). Expected format: -o <key>=<value>
Default: []
And to do the same thing as 2.x this command needs to be run accumulo tserver -o general.process.bind.addr=aHostName. The help does not help you figure this out. I looked at source code to figure this out and it took a while.
Describe the solution you'd like
It would be nice to make this common operation easier. Either add something to help message for servers or bring the -a option back.