[
https://issues.apache.org/jira/browse/ACCUMULO-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536749#comment-13536749
]
Josh Elser commented on ACCUMULO-745:
-------------------------------------
Eric, I think I'm seeing some issues with the options changing when running
stop-all.sh.
{noformat}
Cleaning tablet server entries from zookeeper
2012-12-19 22:42:33,879 [impl.DefaultFileSystemManager] INFO : Using
"/tmp/vfs_cache" as temporary files store.
Usage: org.apache.accumulo.server.util.ZooZap [options]
Options:
-auths, --auths
the authorizations to use when reading or writing
Default: <empty string>
--batchLatency
The maximum time to wait before flushing data to servers when writing
Default: 120000
--batchMemory
memory used to batch data when writing
Default: 52428800
--batchThreads
Number of threads to use when writing large batches
Default: 3
--batchTimeout
timeout used to fail a batch write
Default: 9223372036854775807
--debug
turn on TRACE-level log messages
Default: false
-h, -?, --help, -help
Default: false
-i, --instance
The name of the accumulo instance
-z, --keepers
Comma separated list of zookeeper hosts (host:port,host:port)
Default: localhost:2181
-fake, --mock
Use a mock Instance
Default: false
--password
Enter the connection password
--scanBatchSize
the number of key-values to pull during a scan or batch scan
Default: 1000
--scanThreads
number of threads to use when batch scanning
Default: 10
--site-file
Read the given accumulo site file to find the accumulo instance
--trace
turn on distributed tracing
Default: false
-u, --user
Connection user
Default: root
-master
remove master locks
Default: false
-p
Connection password
Default: secret
-tracers
remove tracer locks
Default: false
-tserver
remove tablet server locks
Default: false
-verbose
print out messages about progress
Default: false
Unknown option: -tservers
Cleaning all server entries in zookeeper
2012-12-19 22:42:34,872 [impl.DefaultFileSystemManager] INFO : Using
"/tmp/vfs_cache" as temporary files store.
Usage: org.apache.accumulo.server.util.ZooZap [options]
Options:
-auths, --auths
the authorizations to use when reading or writing
Default: <empty string>
--batchLatency
The maximum time to wait before flushing data to servers when writing
Default: 120000
--batchMemory
memory used to batch data when writing
Default: 52428800
--batchThreads
Number of threads to use when writing large batches
Default: 3
--batchTimeout
timeout used to fail a batch write
Default: 9223372036854775807
--debug
turn on TRACE-level log messages
Default: false
-h, -?, --help, -help
Default: false
-i, --instance
The name of the accumulo instance
-z, --keepers
Comma separated list of zookeeper hosts (host:port,host:port)
Default: localhost:2181
-fake, --mock
Use a mock Instance
Default: false
--password
Enter the connection password
--scanBatchSize
the number of key-values to pull during a scan or batch scan
Default: 1000
--scanThreads
number of threads to use when batch scanning
Default: 10
--site-file
Read the given accumulo site file to find the accumulo instance
--trace
turn on distributed tracing
Default: false
-u, --user
Connection user
Default: root
-master
remove master locks
Default: false
-p
Connection password
Default: secret
-tracers
remove tracer locks
Default: false
-tserver
remove tablet server locks
Default: false
-verbose
print out messages about progress
Default: false
Unknown option: -tservers
{noformat}
> Use a CLI library consistently to parse parameters in all utilities.
> --------------------------------------------------------------------
>
> Key: ACCUMULO-745
> URL: https://issues.apache.org/jira/browse/ACCUMULO-745
> Project: Accumulo
> Issue Type: Bug
> Components: client
> Affects Versions: 1.4.1
> Reporter: Eric Newton
> Assignee: Eric Newton
> Priority: Trivial
> Labels: newbie
> Fix For: 1.5.0
>
>
> In a few utilities, the command-line parsing is pretty lazy. There's no
> usage, just an NPE if you don't provide all the magic options on the
> command-line. In particular, Initialize doesn't use an off-the-shelf library
> for command-line parsing, and it really should.
> See ACCUMULO-744.
> In addition, many command-line utilities can and should be able to read
> accumulo-site.xml, and do not need to provide
> username/password/instance/zookeeper information by default.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira