YARN Configuration Properties

This table provides information about the parameters listed in the yarn-site.xml file.

Property Value
yarn.acl.enable true
yarn.admin.acl yarn
yarn.log-aggregation-enable true
yarn.log-aggregation.retain-seconds 604800
yarn.log-aggregation-status.time-out.ms 600000
yarn.log-aggregation.file-formats IFile,TFile
yarn.log-aggregation.file-controller.TFile.class org.apache.hadoop.yarn.logaggregation.filecontroller.tfile.LogAggregationTFileController
yarn.log-aggregation.TFile.remote-app-log-dir-suffix
yarn.log-aggregation.file-controller.IFile.class org.apache.hadoop.yarn.logaggregation.filecontroller.ifile.LogAggregationIndexedFileController
yarn.log-aggregation.IFile.remote-app-log-dir /tmp/logs
yarn.log-aggregation.IFile.remote-app-log-dir-suffix ifile
yarn.resourcemanager.address ${yarn.resourcemanager.hostname}:8032
yarn.resourcemanager.admin.address ${yarn.resourcemanager.hostname}:8033
yarn.resourcemanager.scheduler.address ${yarn.resourcemanager.hostname}:8030
yarn.resourcemanager.resource-tracker.address ${yarn.resourcemanager.hostname}:8031
yarn.resourcemanager.webapp.address ${yarn.resourcemanager.hostname}:8088
yarn.resourcemanager.webapp.https.address ${yarn.resourcemanager.hostname}:8090
yarn.resourcemanager.recovery.enabled true
yarn.resourcemanager.work-preserving-recovery.enabled true
yarn.resourcemanager.zk-address localhost:2181
yarn.resourcemanager.store.class org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore
yarn.resourcemanager.proxy-user-privileges.enabled true
yarn.resourcemanager.nodes.include-path /var/run/test-scm-agent/process/32-yarn-RESOURCEMANAGER/nodes_allow.txt
yarn.resourcemanager.nodes.exclude-path /var/run/test-scm-agent/process/32-yarn-RESOURCEMANAGER/nodes_exclude.txt
yarn.resourcemanager.client.thread-count 50
yarn.resourcemanager.scheduler.client.thread-count 50
yarn.resourcemanager.admin.client.thread-count 1
yarn.scheduler.minimum-allocation-mb 1024
yarn.scheduler.increment-allocation-mb 512
yarn.scheduler.maximum-allocation-mb 8192
yarn.scheduler.minimum-allocation-vcores 1
yarn.scheduler.increment-allocation-vcores 1
yarn.scheduler.maximum-allocation-vcores 2
yarn.resourcemanager.amliveliness-monitor.interval-ms 1000
yarn.am.liveness-monitor.expiry-interval-ms 600000
yarn.resourcemanager.am.max-attempts 2
yarn.resourcemanager.container.liveness-monitor.interval-ms 600000
yarn.resourcemanager.nm.liveness-monitor.interval-ms 1000
yarn.nm.liveness-monitor.expiry-interval-ms 600000
yarn.resourcemanager.resource-tracker.client.thread-count 50
yarn.application.classpath $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/*
yarn.resourcemanager.scheduler.class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
yarn.scheduler.capacity.resource-calculator org.apache.hadoop.yarn.util.resource.DominantResourceCalculator
yarn.scheduler.fair.allow-undeclared-pools true
yarn.scheduler.fair.user-as-default-queue true
yarn.scheduler.fair.preemption false
yarn.scheduler.fair.preemption.cluster-utilization-threshold 0.8
yarn.scheduler.fair.sizebasedweight false
yarn.scheduler.fair.assignmultiple true
yarn.scheduler.fair.dynamicmaxassign true
yarn.scheduler.fair.maxassign -1
yarn.webapp.ui2.enable true
yarn.resourcemanager.webapp.cross-origin.enabled true
yarn.scheduler.fair.continuous-scheduling-enabled false
yarn.scheduler.fair.locality-delay-node-ms 2000
yarn.scheduler.fair.locality-delay-rack-ms 4000
yarn.scheduler.fair.continuous-scheduling-sleep-ms 5
yarn.resourcemanager.max-completed-applications 10000
yarn.resourcemanager.zk-timeout-ms 60000
yarn.webapp.api-service.enable true
yarn.resourcemanager.placement-constraints.handler scheduler
hadoop.registry.zk.quorum host:2181
yarn.service.framework.path /user/yarn/services/service-framework/7.1.0/service-dep.tar.gz
yarn.service.classpath $HADOOP_CLIENT_CONF_DIR

For information about the YARN configuration properties supported by Cloudera Manager, see Cloudera Manager Configuration Properties.