LZD-PratyushBhatt opened a new pull request, #7159:
URL: https://github.com/apache/ozone/pull/7159
## What changes were proposed in this pull request?
ozone admin om cancelprepare --service-id improvement.
Please describe your PR in detail:
Currently, for ozone admin om cancelprepare command, we need to specify the
om service ID as its a mandatory parameter.
ozone admin om cancelprepare
Missing required option: '--service-id=<omServiceId>'
Usage: ozone admin om cancelprepare [-hV] -id=<omServiceId>
Cancel prepare state in the OMs.
-h, --help Show this help message and exit.
-id, --service-id=<omServiceId>
Ozone Manager Service ID
-V, --version Print version information and exit.
The aim is to pick the default om service ID when explicilty not specified.
## What is the link to the Apache JIRA
[HDDS-11145](https://issues.apache.org/jira/browse/HDDS-11145)
## How was this patch tested?
Tested Manually using CLI
`ozone admin om cancelprepare
Cancel prepare succeeded, cluster can now accept write requests.
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]