You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2020/07/30 13:36:00 UTC
[jira] [Created] (HDDS-4046) Extensible subcommands for CLI
applications
Marton Elek created HDDS-4046:
---------------------------------
Summary: 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
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