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 "slfan1989 (via GitHub)" <gi...@apache.org> on 2023/09/30 00:30:19 UTC

[GitHub] [hadoop] slfan1989 commented on pull request #6127: YARN-11580. YARN Router Web supports displaying information for Non-Federation.

slfan1989 commented on PR #6127:
URL: https://github.com/apache/hadoop/pull/6127#issuecomment-1741603421

   
   - Router
   
   We don't need to make changes to Router's configuration. By configuring a specific YARN cluster in Router's yarn-site.xml, Router can automatically route client requests to the YARN cluster.
   
   - yarn-site.xml
   ```
   <property>
     <name>yarn.resourcemanager.ha.enabled</name>
     <value>true</value>
   </property>
   <property>
     <name>yarn.resourcemanager.cluster-id</name>
     <value>cluster1</value>
   </property>
   <property>
     <name>yarn.resourcemanager.ha.rm-ids</name>
     <value>rm1,rm2</value>
   </property>
   <property>
     <name>yarn.resourcemanager.hostname.rm1</name>
     <value>master1</value>
   </property>
   <property>
     <name>yarn.resourcemanager.hostname.rm2</name>
     <value>master2</value>
   </property>
   <property>
     <name>yarn.resourcemanager.webapp.address.rm1</name>
     <value>master1:8088</value>
   </property>
   <property>
     <name>yarn.resourcemanager.webapp.address.rm2</name>
     <value>master2:8088</value>
   </property>
   <property>
     <name>hadoop.zk.address</name>
     <value>zk1:2181,zk2:2181,zk3:2181</value>
   </property>
   ```
   
   


-- 
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: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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