You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ma...@apache.org on 2014/02/26 22:06:58 UTC

git commit: AMBARI-4855. Need special configuration in mapred-site.xml to increase limits on counters. (mahadev)

Repository: ambari
Updated Branches:
  refs/heads/trunk 87ee28108 -> cc26943bd


AMBARI-4855. Need special configuration in mapred-site.xml to increase limits on counters. (mahadev)


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

Branch: refs/heads/trunk
Commit: cc26943bde277b32e267267a67b3f15a03461f76
Parents: 87ee281
Author: Mahadev Konar <ma...@apache.org>
Authored: Wed Feb 26 13:06:00 2014 -0800
Committer: Mahadev Konar <ma...@apache.org>
Committed: Wed Feb 26 13:06:00 2014 -0800

----------------------------------------------------------------------
 .../OOZIE/package/templates/oozie-env.sh.j2     |  2 ++
 .../services/YARN/configuration/mapred-site.xml | 33 ++++++++++++++++++++
 2 files changed, 35 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/cc26943b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2 b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2
index 8b76923..c8eac06 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2
@@ -27,6 +27,8 @@ fi
 #Set JAVA HOME
 export JAVA_HOME={{java_home}}
 
+export JRE_HOME=${JAVA_HOME}
+
 # Set Oozie specific environment variables here.
 
 # Settings for the Embedded Tomcat that runs Oozie

http://git-wip-us.apache.org/repos/asf/ambari/blob/cc26943b/ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/mapred-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/mapred-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/mapred-site.xml
index 943f6bb..6c9f22a 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/mapred-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/mapred-site.xml
@@ -382,5 +382,38 @@
       Should the job outputs be compressed?
     </description>
   </property>
+  
+  <property>
+    <name>mapreduce.job.counters.max</name>
+    <value>20000</value>
+    <description>
+      Limit on the number of counters allowed per job.
+    </description>
+  </property>
+
+  <property>
+    <name>mapreduce.job.counters.groups.max</name>
+    <value>10000</value>
+    <description>
+     Limit on the number of counter groups allowed per job.
+    </description>
+  </property>
+
+  <property>
+    <name>mapreduce.job.counters.group.name.max</name>
+    <value>1000</value>
+    <description>
+     Limit on the length of counter group names in jobs. 
+     Names exceeding this limit will be truncated.
+    </description>
+  </property>
+
+  <property>
+    <name>mapreduce.job.counters.counter.name.max</name>
+    <value>1000</value>
+    <description>
+      Limit on the length of counter names in jobs. Names exceeding this limit will be truncated.
+    </description>
+  </property>
 
 </configuration>