浏览代码

MAPREDUCE-2644. NodeManager fails to create containers when NM_LOG_DIR is not explicitly set in the Configuration. Contributed by Josh Wills.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/MR-279@1145853 13f79535-47bb-0310-9956-ffa450edef68
Vinod Kumar Vavilapalli 14 年之前
父节点
当前提交
36fa986d90

+ 4 - 1
mapreduce/CHANGES.txt

@@ -5,8 +5,11 @@ Trunk (unreleased changes)
 
     MAPREDUCE-279
    
+    MAPREDUCE-2644. NodeManager fails to create containers when NM_LOG_DIR
+    is not explicitly set in the Configuration. (Josh Wills via vinodkv)
+
     MAPREDUCE-2630. refreshQueues leads to NPEs when used w/FifoScheduler. 
-    (Josh Willis via mahadev)
+    (Josh Wills via mahadev)
  
     MAPREDUCE-2678. minimum-user-limit-percent no longer honored. (naisbitt 
     via mahadev)

+ 5 - 0
mapreduce/yarn/yarn-server/yarn-server-common/src/main/resources/yarn-default.xml

@@ -52,6 +52,11 @@
     <value>/tmp/nm-local-dir</value>
   </property>
 
+  <property>
+    <name>yarn.server.nodemanager.log.dir</name>
+    <value>/tmp/logs</value>
+  </property>
+
   <property>
     <name>yarn.apps.stagingDir</name>
     <value>/tmp/hadoop-yarn/${user.name}/staging</value>