[ 
https://issues.apache.org/jira/browse/ACCUMULO-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher Tubbs resolved ACCUMULO-4605.
-----------------------------------------
    Resolution: Fixed

> Main.java shouldn't have hard-coded lists of commands for usage
> ---------------------------------------------------------------
>
>                 Key: ACCUMULO-4605
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4605
>             Project: Accumulo
>          Issue Type: Bug
>          Components: build, scripts, start
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>            Priority: Blocker
>             Fix For: 2.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> ACCUMULO-4490 added hard-coded lists of commands in the Main class, for the 
> purposes of usage. However, this regresses what ACCUMULO-3514 was trying to 
> fix.
> In addition, the current implementation results in NullPointerExceptions when 
> one of the hard-coded keywords are not found in the classloader.
> Main should be fixed so that it does not depend on hard-coded lists of 
> KeywordExecutables.
> [~mikewalch] mentioned to me that part of the reason this was done was to 
> affix the ordering of the usage. I think that goal can be achieved by 
> extending the KeywordExecutable interface to include a grouping or ordering 
> attribute instead.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to