You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Eric Newton (JIRA)" <ji...@apache.org> on 2012/11/15 21:27:12 UTC

[jira] [Commented] (ACCUMULO-745) Use the Apache CLI library to parse parameters in all utilities.

    [ https://issues.apache.org/jira/browse/ACCUMULO-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498312#comment-13498312 ] 

Eric Newton commented on ACCUMULO-745:
--------------------------------------

Actually, it seems to me that there are better argument parsing libraries.  JCommander looks pretty nice  and has an apache license.
                
> Use the Apache CLI library 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: Christopher Tubbs
>            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