Attila Doroszlai created HDDS-12523:
---------------------------------------
Summary: Move getconf and genconf to ozone config
Key: HDDS-12523
URL: https://issues.apache.org/jira/browse/HDDS-12523
Project: Apache Ozone
Issue Type: Sub-task
Components: Ozone CLI
Reporter: Attila Doroszlai
Assignee: Attila Doroszlai
{{ozone getconf}} and {{ozone genconf}} are very similar in name, and clutter
the top-level CLI namespace. We should move them as subcommands under new
{{ozone config}} command, {{get}} and {{create}}, respectively.
This is a good opportunity to improve {{getconf}}, which has quite some
backwards-compatibility baggage, supporting both normal and option-like
subcommands:
{code}
Commands:
confKey, -confKey gets a specific key from the
configuration
storagecontainermanagers, -storagecontainermanagers
gets list of ozone storage
container manager nodes in the
cluster
ozonemanagers, -ozonemanagers gets list of Ozone Manager nodes in
the cluster
{code}
Existing {{ozone getconf}} could be kept for compatibility as is, but hidden.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]