You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/06/26 18:07:02 UTC

[GitHub] [hadoop] goiri commented on a change in pull request #1018: YARN-9643:Federation: Add subClusterID in nodes page of Router web

goiri 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_r297798565
 
 

 ##########
 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:
   "default-cluster" should be a constant somewhere.
   Probably "_DEFAULT".

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org