adoroszlai commented on code in PR #5418:
URL: https://github.com/apache/ozone/pull/5418#discussion_r1359915800
##########
hadoop-hdds/docs/content/feature/Decommission.md:
##########
@@ -78,14 +78,15 @@ Storage Container Manager (SCM) decommissioning is the
process in which you can
To decommission a SCM and remove the node from the SCM HA ring, the following
steps need to be executed.
```shell
ozone admin scm decommission [-hV] [-id=<scmServiceId>] -nodeid=<nodeId>
- [--scm=<scm>]
```
You can obtain the 'nodeId' by executing this command, **"ozone admin scm
roles"**
-**Note -** If you want to decommission a **primordial** scm, you may first
transfer the leadership to a non primordial scm and then decommission the
primordial scm.
+**Note -** If you want to decommission the **leader** scm, you must first
transfer the leadership to a different scm and then decommission the node.
To transfer the leader, we can excute below command,
```shell
-ozone admin scm transfer --service-id=scmservice -n ${nodeId}
+ozone admin scm transfer [-id=<scmServiceId>] -n=<nodeId>
Review Comment:
Please do not change `--service-id` to `-id`. Both are supported by the
command, but `-id`, as a multi-char short option, should really be deprecated
(see description of HDDS-6736).
--
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]