123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--Autogenerated by Cloudera Manager-->
- <configuration>
- <property>
- <name>yarn.acl.enable</name>
- <value>true</value>
- </property>
- <property>
- <name>yarn.admin.acl</name>
- <value>*</value>
- </property>
- <property>
- <name>yarn.resourcemanager.ha.enabled</name>
- <value>true</value>
- </property>
- <property>
- <name>yarn.resourcemanager.ha.automatic-failover.enabled</name>
- <value>true</value>
- </property>
- <property>
- <name>yarn.resourcemanager.ha.automatic-failover.embedded</name>
- <value>true</value>
- </property>
- <property>
- <name>yarn.resourcemanager.recovery.enabled</name>
- <value>true</value>
- </property>
- <property>
- <name>yarn.resourcemanager.zk-address</name>
- <value>cdhtestdn06.yili.com:2181,cdhtestdn07.yili.com:2181,cdhtestdn08.yili.com:2181</value>
- </property>
- <property>
- <name>yarn.resourcemanager.store.class</name>
- <value>org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore</value>
- </property>
- <property>
- <name>yarn.client.failover-sleep-base-ms</name>
- <value>100</value>
- </property>
- <property>
- <name>yarn.client.failover-sleep-max-ms</name>
- <value>2000</value>
- </property>
- <property>
- <name>yarn.resourcemanager.cluster-id</name>
- <value>yarnRM</value>
- </property>
- <property>
- <name>yarn.resourcemanager.address.rm192</name>
- <value>cdhtestnm01.yili.com:8032</value>
- </property>
- <property>
- <name>yarn.resourcemanager.scheduler.address.rm192</name>
- <value>cdhtestnm01.yili.com:8030</value>
- </property>
- <property>
- <name>yarn.resourcemanager.resource-tracker.address.rm192</name>
- <value>cdhtestnm01.yili.com:8031</value>
- </property>
- <property>
- <name>yarn.resourcemanager.admin.address.rm192</name>
- <value>cdhtestnm01.yili.com:8033</value>
- </property>
- <property>
- <name>yarn.resourcemanager.webapp.address.rm192</name>
- <value>cdhtestnm01.yili.com:8088</value>
- </property>
- <property>
- <name>yarn.resourcemanager.webapp.https.address.rm192</name>
- <value>cdhtestnm01.yili.com:8090</value>
- </property>
- <property>
- <name>yarn.resourcemanager.address.rm193</name>
- <value>cdhtestnm02.yili.com:8032</value>
- </property>
- <property>
- <name>yarn.resourcemanager.scheduler.address.rm193</name>
- <value>cdhtestnm02.yili.com:8030</value>
- </property>
- <property>
- <name>yarn.resourcemanager.resource-tracker.address.rm193</name>
- <value>cdhtestnm02.yili.com:8031</value>
- </property>
- <property>
- <name>yarn.resourcemanager.admin.address.rm193</name>
- <value>cdhtestnm02.yili.com:8033</value>
- </property>
- <property>
- <name>yarn.resourcemanager.webapp.address.rm193</name>
- <value>cdhtestnm02.yili.com:8088</value>
- </property>
- <property>
- <name>yarn.resourcemanager.webapp.https.address.rm193</name>
- <value>cdhtestnm02.yili.com:8090</value>
- </property>
- <property>
- <name>yarn.resourcemanager.ha.rm-ids</name>
- <value>rm192,rm193</value>
- </property>
- <property>
- <name>yarn.resourcemanager.client.thread-count</name>
- <value>50</value>
- </property>
- <property>
- <name>yarn.resourcemanager.scheduler.client.thread-count</name>
- <value>50</value>
- </property>
- <property>
- <name>yarn.resourcemanager.admin.client.thread-count</name>
- <value>1</value>
- </property>
- <property>
- <name>yarn.scheduler.minimum-allocation-mb</name>
- <value>5120</value>
- </property>
- <property>
- <name>yarn.scheduler.increment-allocation-mb</name>
- <value>512</value>
- </property>
- <property>
- <name>yarn.scheduler.maximum-allocation-mb</name>
- <value>49152</value>
- </property>
- <property>
- <name>yarn.scheduler.minimum-allocation-vcores</name>
- <value>1</value>
- </property>
- <property>
- <name>yarn.scheduler.increment-allocation-vcores</name>
- <value>1</value>
- </property>
- <property>
- <name>yarn.scheduler.maximum-allocation-vcores</name>
- <value>64</value>
- </property>
- <property>
- <name>yarn.resourcemanager.amliveliness-monitor.interval-ms</name>
- <value>1000</value>
- </property>
- <property>
- <name>yarn.am.liveness-monitor.expiry-interval-ms</name>
- <value>600000</value>
- </property>
- <property>
- <name>yarn.resourcemanager.am.max-attempts</name>
- <value>2</value>
- </property>
- <property>
- <name>yarn.resourcemanager.container.liveness-monitor.interval-ms</name>
- <value>600000</value>
- </property>
- <property>
- <name>yarn.resourcemanager.nm.liveness-monitor.interval-ms</name>
- <value>1000</value>
- </property>
- <property>
- <name>yarn.nm.liveness-monitor.expiry-interval-ms</name>
- <value>600000</value>
- </property>
- <property>
- <name>yarn.resourcemanager.resource-tracker.client.thread-count</name>
- <value>50</value>
- </property>
- <property>
- <name>yarn.application.classpath</name>
- <value>/opt/cloudera/parcels/CDH/lib/hadoop-mapreduce/*,$HADOOP_CLIENT_CONF_DIR,$HADOOP_COMMON_HOME/*,$HADOOP_COMMON_HOME/lib/*,$HADOOP_HDFS_HOME/*,$HADOOP_HDFS_HOME/lib/*,$HADOOP_YARN_HOME/*,$HADOOP_YARN_HOME/lib/*</value>
- </property>
- <property>
- <name>yarn.resourcemanager.scheduler.class</name>
- <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler</value>
- </property>
- <property>
- <name>yarn.scheduler.capacity.resource-calculator</name>
- <value>org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator</value>
- </property>
- <property>
- <name>yarn.resourcemanager.max-completed-applications</name>
- <value>10000</value>
- </property>
- <property>
- <name>yarn.nodemanager.remote-app-log-dir</name>
- <value>/tmp/logs</value>
- </property>
- <property>
- <name>yarn.nodemanager.remote-app-log-dir-suffix</name>
- <value>logs</value>
- </property>
- </configuration>
|