You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2017/03/09 19:36:38 UTC
[jira] [Created] (ACCUMULO-4605) Main.java shouldn't have
hard-coded lists of commands for usage
Christopher Tubbs created ACCUMULO-4605:
-------------------------------------------
Summary: 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
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)