| <?xml version="1.0"?> |
| <!-- |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. See accompanying LICENSE file. |
| --> |
| <configuration> |
| <property> |
| <name>yarn.nodemanager.localizer.address</name> |
| <value>${my.yarn.nodemanager.localizer.address}</value> |
| </property> |
| <property> |
| <name>yarn.nodemanager.address</name> |
| <value>${my.yarn.nodemanager.address}</value> |
| </property> |
| <property> |
| <name>yarn.nodemanager.webapp.address</name> |
| <value>${my.yarn.nodemanager.webapp.address}</value> |
| </property> |
| <property> |
| <name>yarn.nodemanager.health-checker.script.opts</name> |
| <value>${my.decommission.file}</value> |
| </property> |
| |
| <property> |
| <name>yarn.nodemanager.aux-services</name> |
| <value>mapreduce_shuffle</value> |
| </property> |
| <property> |
| <name>yarn.nodemanager.aux-services.mapreduce_shuffle.class</name> |
| <value>org.apache.hadoop.mapred.ShuffleHandler</value> |
| </property> |
| |
| <property> |
| <name>yarn.resourcemanager.hostname</name> |
| <value>localhost</value> |
| </property> |
| |
| <property> |
| <name>yarn.log-aggregation-enable</name> |
| <value>true</value> |
| </property> |
| <property> |
| <name>yarn.log.server.url</name> |
| <value>http://localhost:19888/jobhistory/logs</value> |
| </property> |
| |
| <property> |
| <name>yarn.nodemanager.resource.memory-mb</name> |
| <value>1536</value> |
| </property> |
| <property> |
| <name>yarn.scheduler.maximum-allocation-mb</name> |
| <value>1536</value> |
| </property> |
| <property> |
| <name>yarn.scheduler.minimum-allocation-mb</name> |
| <value>128</value> |
| </property> |
| <property> |
| <name>yarn.nodemanager.vmem-check-enabled</name> |
| <value>false</value> |
| </property> |
| </configuration> |