LZD-PratyushBhatt opened a new pull request, #5340:
URL: https://github.com/apache/ozone/pull/5340
## What changes were proposed in this pull request?
Currently, for ozone admin om fetch-key command, we need to specify the om
service ID as its a mandatory parameter.
```
ozone admin om fetch-key
Missing required option: '--service-id=<omServiceId>'
Usage: ozone admin om fetch-key [-hV] -id=<omServiceId>
CLI command to force OM to fetch the latest secret key from SCM.
-h, --help Show this help message and exit.
-id, --service-id=<omServiceId>
Ozone Manager Service ID
-V, --version Print version information and exit.
```
Even if the omServiceId is null, its handled properly
[here](https://github.com/apache/ozone/blob/4b43f158b8b5f9e0d1a58ffe81d3411729337c66/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/om/OMAdmin.java#L113)
## What is the link to the Apache JIRA
[HDDS-9313](https://issues.apache.org/jira/browse/HDDS-9313)
## How was this patch tested?
Manually tested + Added Robot Test.
--
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]