hunshenshi commented on a change in pull request #1018: YARN-9643:Federation:
Add subClusterID in nodes page of Router web
URL: https://github.com/apache/hadoop/pull/1018#discussion_r297957045
##########
File path:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceTrackerService.java
##########
@@ -264,6 +266,7 @@ protected void serviceStart() throws Exception {
YarnConfiguration.RM_RESOURCE_TRACKER_ADDRESS,
YarnConfiguration.DEFAULT_RM_RESOURCE_TRACKER_ADDRESS,
server.getListenerAddress());
+ clusterId = conf.get(YarnConfiguration.RM_CLUSTER_ID, "default-cluster");
Review comment:
Thanks @goiri , I will use YarnConfiguration.DEFAULT_RM_CLUSTER_ID
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]