rdrishabh

yarn-site.xml

Nov 21st, 2018
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.51 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <!--
  3.  Licensed under the Apache License, Version 2.0 (the "License");
  4.  you may not use this file except in compliance with the License.
  5.  You may obtain a copy of the License at
  6.  
  7.    http://www.apache.org/licenses/LICENSE-2.0
  8.  
  9.  Unless required by applicable law or agreed to in writing, software
  10.  distributed under the License is distributed on an "AS IS" BASIS,
  11.  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12.  See the License for the specific language governing permissions and
  13.  limitations under the License. See accompanying LICENSE file.
  14. -->
  15. <configuration>
  16.  
  17. <!-- Site specific YARN configuration properties -->
  18. <property>
  19.   <name>yarn.nodemanager.aux-services</name>
  20.     <value>mapreduce_shuffle</value>
  21.  </property>
  22. <property>
  23.             <name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
  24.                 <value>org.apache.hadoop.mapred.ShuffleHandler</value>
  25.         </property>
  26.         <property>
  27.                 <name>yarn.resourcemanager.resource-tracker.address</name>
  28.                 <value>master:8031</value>
  29.         </property>
  30.         <property>
  31.                 <name>yarn.resourcemanager.scheduler.address</name>
  32.                 <value>master:8030</value>
  33.         </property>
  34.         <property>
  35.                 <name>yarn.resourcemanager.address</name>
  36.                 <value>master:8032</value>
  37.         </property>
  38.  
  39. <property>
  40.  <name>yarn.log-aggregation-enable</name>
  41.  <value>true</value>
  42.  </property>
  43.  
  44. <property>
  45.  <name>yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds</name>
  46.  <value>3600</value>
  47.  </property>
  48.  
  49.  
  50.  <property>
  51.     <name>yarn.nodemanager.vmem-pmem-ratio</name>
  52.         <value>16</value>
  53. </property>
  54. <property>
  55.     <name>yarn.nodemanager.pmem-check-enabled</name>
  56.         <value>true</value>
  57. </property><property>
  58.         <name>yarn.nodemanager.vmem-check-enabled</name>
  59.         <value>false</value>
  60. </property>
  61. <property>
  62.     <name>yarn.nodemanager.resource.memory-mb</name>
  63.         <value>30720</value>
  64. </property>
  65. <property>
  66.         <name>yarn.scheduler.minimum-allocation-mb</name>
  67.         <value>10240</value>
  68. </property>
  69.  
  70. <property>
  71.         <name>yarn.scheduler.maximum-allocation-mb</name>
  72.         <value>30720</value>
  73. </property>
  74.  
  75. <property>
  76.         <name>yarn.app.mapreduce.am.resource.mb</name>
  77.         <value>10240</value>
  78. </property>
  79. <property>
  80.         <name>yarn.app.mapreduce.am.command-opts</name>
  81.         <value>-Xmx8192m</value>
  82. </property>
  83. </configuration>
Add Comment
Please, Sign In to add comment