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

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

Everything with {{public static void main(String[] args)}} function in the 
server package should (optionally) use accumulo-site.xml, provide usage and use 
an off-the-shelf argument parsing utility, unless it is in the test directory.

Every example should also provide usage and use an off-the-shelf argument 
parsing utility.


                
> 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: Billie Rinaldi
>            Priority: Trivial
>
> 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

Reply via email to