accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-745) Use a CLI library consistently to parse parameters in all utilities.
Date Wed, 02 Jan 2013 16:48:12 GMT


John Vines commented on ACCUMULO-745:

11:40:36 runTest (simple.dynamicThreadPools.DynamicThreadPools) .............
looks like a stack trace: Thread "org.apache.accumulo.server.test.TestIngest" died null
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.apache.accumulo.start.Main$
Caused by: java.lang.RuntimeException: org.apache.commons.cli.UnrecognizedOptionException:
Unrecognized option: --debug
	at org.apache.accumulo.server.test.TestIngest.parseArgs(
	at org.apache.accumulo.server.test.TestIngest.main(
	... 6 more
Caused by: org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: --debug
	at org.apache.commons.cli.Parser.processOption(
	at org.apache.commons.cli.Parser.parse(
	at org.apache.commons.cli.Parser.parse(
	at org.apache.accumulo.server.test.TestIngest.parseArgs(
	... 7 more
> Use a CLI library consistently to parse parameters in all utilities.
> --------------------------------------------------------------------
>                 Key: ACCUMULO-745
>                 URL:
>             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:

View raw message