You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "neils-dev (via GitHub)" <gi...@apache.org> on 2023/05/04 02:15:43 UTC
[GitHub] [ozone] neils-dev opened a new pull request, #4649: HDDS-8518. Admin SCM decommission command primordial node support
neils-dev opened a new pull request, #4649:
URL: https://github.com/apache/ozone/pull/4649
## What changes were proposed in this pull request?
Changes to `SCM` `decommision `command to support decommissioning of `primordial` `SCM `node.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8518
## How was this patch tested?
Manual testing - decommissioning primordial scm node:
Bring up cluster with SCM-HA 3 nodes, primary scm nodeid = scm1
```
bash-4.2$ ozone admin scm roles
scm1.org:9894:LEADER:3f61f995-7316-47a5-ba1f-255749874c7d:172.25.0.116
scm3.org:9894:FOLLOWER:9ab89602-7c32-4f52-8c78-5f9a620ef70a:172.25.0.118
scm2.org:9894:FOLLOWER:35b1e08f-660c-4c7c-86d3-7a02e082b2a8:172.25.0.117
```
Transfer scm leader to non-primordial node, scmid=scm3
```
bash-4.2$ ozone admin scm transfer --newLeaderId=9ab89602-7c32-4f52-8c78-5f9a620ef70a
Transfer leadership successfully to 9ab89602-7c32-4f52-8c78-5f9a620ef70a.
```
Decommission primordial scm node:
```
bash-4.2$ ozone admin scm decommission --nodeid=3f61f995-7316-47a5-ba1f-255749874c7d
Decommissioned Scm 3f61f995-7316-47a5-ba1f-255749874c7d
```
```
bash-4.2$ ozone admin scm roles
scm3.org:9894:LEADER:9ab89602-7c32-4f52-8c78-5f9a620ef70a:172.25.0.118
scm2.org:9894:FOLLOWER:35b1e08f-660c-4c7c-86d3-7a02e082b2a8:172.25.0.117
```
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] ChenSammi commented on pull request #4649: HDDS-8518. Admin SCM decommission command primordial node support
Posted by "ChenSammi (via GitHub)" <gi...@apache.org>.
ChenSammi commented on PR #4649:
URL: https://github.com/apache/ozone/pull/4649#issuecomment-1535690469
@neils-dev , thanks for working on this. The patch overall looks good. Could you add a robot smoke test for this decommission process? Robot test can be put under hadoop-ozone/dist/src/main/smoketest/scmha.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] ChenSammi commented on pull request #4649: HDDS-8518. Admin SCM decommission command primordial node support
Posted by "ChenSammi (via GitHub)" <gi...@apache.org>.
ChenSammi commented on PR #4649:
URL: https://github.com/apache/ozone/pull/4649#issuecomment-1538021684
Thanks @neils-dev, the patch LGTM +1.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] neils-dev commented on pull request #4649: HDDS-8518. Admin SCM decommission command primordial node support
Posted by "neils-dev (via GitHub)" <gi...@apache.org>.
neils-dev commented on PR #4649:
URL: https://github.com/apache/ozone/pull/4649#issuecomment-1537177715
Thanks @ChenSammi. Added robot test for testing scm decommissioning. Tested in ozonesecure-ha.
> Robot test can be put under hadoop-ozone/dist/src/main/smoketest/scmha.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] ChenSammi merged pull request #4649: HDDS-8518. Admin SCM decommission command primordial node support
Posted by "ChenSammi (via GitHub)" <gi...@apache.org>.
ChenSammi merged PR #4649:
URL: https://github.com/apache/ozone/pull/4649
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org