ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srima...@apache.org
Subject git commit: AMBARI-5455. Ambari configuration for map join conversion and tez container size seems wrong - additional fixes. (srimanth)
Date Mon, 14 Apr 2014 20:02:58 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk c9b740a7a -> 29e467bbc


AMBARI-5455. Ambari configuration for map join conversion and tez container size seems wrong
- additional fixes. (srimanth)

Conflicts:
	ambari-web/app/utils/configs/defaults_providers/hive_defaults_provider.js


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

Branch: refs/heads/trunk
Commit: 29e467bbc8a42203f8c4a59e9af491b0949bace2
Parents: c9b740a
Author: Srimanth Gunturi <sgunturi@hortonworks.com>
Authored: Mon Apr 14 12:08:38 2014 -0700
Committer: Srimanth Gunturi <sgunturi@hortonworks.com>
Committed: Mon Apr 14 13:02:31 2014 -0700

----------------------------------------------------------------------
 .../stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml     | 4 ++--
 .../utils/configs/defaults_providers/hive_defaults_provider.js   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/29e467bb/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
b/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
index 2c68837..e1e3812 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
@@ -352,7 +352,7 @@ limitations under the License.
 
   <property>
     <name>hive.tez.java.opts</name>
-    <value>-server -Xmx1024m -Djava.net.preferIPv4Stack=true</value>
+    <value>-server -Xmx1024m -Djava.net.preferIPv4Stack=true -XX:NewRatio=8 -XX:+UseNUMA
-XX:+UseParallelGC</value>
     <description></description>
   </property>
 
@@ -383,7 +383,7 @@ limitations under the License.
 
   <property>
     <name>hive.server2.tez.default.queues</name>
-    <value></value>
+    <value>default</value>
     <description></description>
   </property>
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/29e467bb/ambari-web/app/utils/configs/defaults_providers/hive_defaults_provider.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/configs/defaults_providers/hive_defaults_provider.js b/ambari-web/app/utils/configs/defaults_providers/hive_defaults_provider.js
index 0ea11fb..95f352d 100644
--- a/ambari-web/app/utils/configs/defaults_providers/hive_defaults_provider.js
+++ b/ambari-web/app/utils/configs/defaults_providers/hive_defaults_provider.js
@@ -33,7 +33,7 @@ App.HiveDefaultsProvider = App.YARNDefaultsProvider.extend({
       var containerSize = configs['mapreduce.map.memory.mb'] > 2048 ? configs['mapreduce.map.memory.mb']
: configs['mapreduce.reduce.memory.mb'];
       containerSize = Math.min(configs['yarn.scheduler.maximum-allocation-mb'], containerSize);
       configs['hive.auto.convert.join.noconditionaltask.size'] = Math.round(containerSize
/ 3) * 1048576; // MB to Bytes
-      configs['hive.tez.java.opts'] = "-server -Xmx" + containerSize + "m -Djava.net.preferIPv4Stack=true";
+      configs['hive.tez.java.opts'] = "-server -Xmx" + Math.round(0.8 * containerSize) +
"m -Djava.net.preferIPv4Stack=true -XX:NewRatio=8 -XX:+UseNUMA -XX:+UseParallelGC";
       configs['hive.tez.container.size'] = containerSize;
     } else {
       jQuery.extend(configs, this.get('configsTemplate'));


Mime
View raw message