accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-4605) Main.java shouldn't have hard-coded lists of commands for usage
Date Thu, 09 Mar 2017 19:38:38 GMT

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

Christopher Tubbs updated ACCUMULO-4605:
----------------------------------------
    Priority: Blocker  (was: Major)

> 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
>            Reporter: Christopher Tubbs
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> 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.3.15#6346)

Mime
View raw message