BIGTOP-525. make sure yarn.dispatcher.exit-on-error is set to true

Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/d0508565
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/d0508565
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/d0508565

Branch: refs/heads/master
Commit: d0508565cc4d19cc365352aa7e0420f8a21793f3
Parents: 6762dcd
Author: Roman Shaposhnik <[email protected]>
Authored: Fri Dec 7 12:04:43 2012 -0800
Committer: Roman Shaposhnik <[email protected]>
Committed: Fri Dec 7 12:04:43 2012 -0800

----------------------------------------------------------------------
 .../puppet/modules/hadoop/templates/yarn-site.xml  |    5 +++++
 .../src/common/hadoop/conf.pseudo/yarn-site.xml    |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/d0508565/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml 
b/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml
index 76eb8e9..69ff477 100644
--- a/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml
+++ b/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml
@@ -92,6 +92,11 @@
   </property>
 
   <property>
+    <name>yarn.dispatcher.exit-on-error</name>
+    <value>true</value>
+  </property>
+
+  <property>
     <name>yarn.nodemanager.local-dirs</name>
     <value><%= yarn_data_dirs.join(",") %></value>
     <final>true</final>

http://git-wip-us.apache.org/repos/asf/bigtop/blob/d0508565/bigtop-packages/src/common/hadoop/conf.pseudo/yarn-site.xml
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hadoop/conf.pseudo/yarn-site.xml 
b/bigtop-packages/src/common/hadoop/conf.pseudo/yarn-site.xml
index 810ac67..d50c63c 100644
--- a/bigtop-packages/src/common/hadoop/conf.pseudo/yarn-site.xml
+++ b/bigtop-packages/src/common/hadoop/conf.pseudo/yarn-site.xml
@@ -34,6 +34,11 @@
   </property>
 
   <property>
+    <name>yarn.dispatcher.exit-on-error</name>
+    <value>true</value>
+  </property>
+
+  <property>
     <description>List of directories to store localized files in.</description>
     <name>yarn.nodemanager.local-dirs</name>
     <value>/var/lib/hadoop-yarn/cache/${user.name}/nm-local-dir</value>

Reply via email to