Skip to content

HDDS-10942. OM decommission config support for default serviceID.#6834

Merged
sadanand48 merged 3 commits intoapache:masterfrom
aryangupta1998:HDDS-10942
Jun 19, 2024
Merged

HDDS-10942. OM decommission config support for default serviceID.#6834
sadanand48 merged 3 commits intoapache:masterfrom
aryangupta1998:HDDS-10942

Conversation

@aryangupta1998
Copy link
Copy Markdown
Contributor

@aryangupta1998 aryangupta1998 commented Jun 19, 2024

What changes were proposed in this pull request?

Currently, before we decommission an OM, Ozone needs to configure with "ozone.om.decommissioned.nodes.serviceID" to vary of OM's to be decommissioned.

It would be nice to add a constant suffix-less config key support i.e. if only one serviceId is configured, "ozone.om.decommissioned.nodes" should be an acceptable config key that defaults to the only configured ID.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-10942

How was this patch tested?

Tested Manually + Unit tests

Comment thread hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/OmUtils.java Outdated
Copy link
Copy Markdown
Contributor

@sadanand48 sadanand48 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aryangupta1998 for the patch , LGTM, pending green CI

@sadanand48 sadanand48 merged commit 2e19063 into apache:master Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants