You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/12/12 17:58:19 UTC
[GitHub] [ozone] nishitpatira opened a new pull request, #4071: HDDS-5560. Updating clusterId to correct value
nishitpatira opened a new pull request, #4071:
URL: https://github.com/apache/ozone/pull/4071
## What changes were proposed in this pull request?
ClusterId was being incorrectly set as datanodeId in the dnlayoutversion/version file.
While this field was not being used anywhere and poses no immediate problem, we wanted to fix it to reflect the correct value.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5560
## How was this patch tested?
1. Built successfully.
2. Local test on docker to see the value is being updated correctly.
--
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] aswinshakil commented on a diff in pull request #4071: HDDS-5560. Updating clusterId to correct value
Posted by GitBox <gi...@apache.org>.
aswinshakil commented on code in PR #4071:
URL: https://github.com/apache/ozone/pull/4071#discussion_r1046227693
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/states/endpoint/VersionEndpointTask.java:
##########
@@ -75,6 +76,10 @@ public EndpointStateMachine.EndPointStates call() throws Exception {
// If end point is passive, datanode does not need to check volumes.
String scmId = response.getValue(OzoneConsts.SCM_ID);
String clusterId = response.getValue(OzoneConsts.CLUSTER_ID);
+ DatanodeLayoutStorage layoutStorage = new DatanodeLayoutStorage(configuration, clusterId);
+ layoutStorage.setClusterId(clusterId);
+ LOG.warn("Nishit *** " + clusterId);
Review Comment:
Please remove this.
--
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] nishitpatira closed pull request #4071: HDDS-5560. Updating clusterId to correct value
Posted by GitBox <gi...@apache.org>.
nishitpatira closed pull request #4071: HDDS-5560. Updating clusterId to correct value
URL: https://github.com/apache/ozone/pull/4071
--
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