Pratyush Bhatt created HDDS-11144:
-------------------------------------
Summary: ozone admin om roles --service-id improvement
Key: HDDS-11144
URL: https://issues.apache.org/jira/browse/HDDS-11144
Project: Apache Ozone
Issue Type: Bug
Components: Ozone CLI
Reporter: Pratyush Bhatt
Assignee: Pratyush Bhatt
Currently, for ozone admin om prepare command, we need to specify the om
service ID as its a mandatory parameter.
{code:java}
ozone admin om prepare
Missing required option: '--service-id=<omServiceId>'
Usage: ozone admin om prepare [-hV] -id=<omServiceId>
Prepares Ozone Manager for upgrade/downgrade, by applying all pending
transactions, taking a Ratis snapshot at the last transaction and purging all
logs on each OM instance. The returned transaction #ID corresponds to the last
transaction in the quorum in which the snapshot is taken.
-h, --help Show this help message and exit.
-id, --service-id=<omServiceId>
Ozone Manager Service ID
-V, --version Print version information and exit. {code}
The aim is to pick the default om service ID when explicilty not specified.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]