You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/07/30 13:37:00 UTC

[jira] [Updated] (HDDS-4046) Extensible subcommands for CLI applications

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

ASF GitHub Bot updated HDDS-4046:
---------------------------------
    Labels: pull-request-available  (was: )

> Extensible subcommands for CLI applications
> -------------------------------------------
>
>                 Key: HDDS-4046
>                 URL: https://issues.apache.org/jira/browse/HDDS-4046
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Marton Elek
>            Assignee: Marton Elek
>            Priority: Major
>              Labels: pull-request-available
>
> HDDS-3814 proposed a new subcommand which deletes the column families from the rocksdb tables.
> But during the discussion there was no consensus if it's safe to add or not.
> This patch makes the sub-commands easy to extend. Anybody can extend the main ozone shell commands with new sub-commands. 
> Sub-commands can be added to the classpath and activated by Service Provider Interface (meta-inf/services/...).
> This is an optional feature, current approach works forward (annotation based sub-command definition). 
> And it's not only about HDDS-3814.
> It makes it easier to organize the sub-commands. (For example RDBStore related commands can be moved to the rdb classes, they will be picked up).
> It makes possible to provide additional, ad-hoc tools during debug or support which can help to solve/debug specific problems. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org