ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srima...@apache.org
Subject git commit: AMBARI-5400. Inefficient default Map heap size values set by Ambari. (srimanth)
Date Wed, 09 Apr 2014 00:44:22 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-1.5.1 bace6db21 -> 7ca55ebdc


AMBARI-5400. Inefficient default Map heap size values set by Ambari. (srimanth)


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

Branch: refs/heads/branch-1.5.1
Commit: 7ca55ebdc590065920b185f0f43f04adb447b568
Parents: bace6db
Author: Srimanth Gunturi <sgunturi@hortonworks.com>
Authored: Tue Apr 8 17:38:12 2014 -0700
Committer: Srimanth Gunturi <sgunturi@hortonworks.com>
Committed: Tue Apr 8 17:38:12 2014 -0700

----------------------------------------------------------------------
 .../app/utils/configs/defaults_providers/yarn_defaults_provider.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7ca55ebd/ambari-web/app/utils/configs/defaults_providers/yarn_defaults_provider.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/configs/defaults_providers/yarn_defaults_provider.js b/ambari-web/app/utils/configs/defaults_providers/yarn_defaults_provider.js
index 6fb2405..2c8a07e 100644
--- a/ambari-web/app/utils/configs/defaults_providers/yarn_defaults_provider.js
+++ b/ambari-web/app/utils/configs/defaults_providers/yarn_defaults_provider.js
@@ -137,7 +137,7 @@ App.YARNDefaultsProvider = App.DefaultsProvider.extend({
   }.property('containers', 'clusterData.ram', 'clusterData.hBaseInstalled', 'hBaseRam', 'reservedRam'),
 
   mapMemory: function () {
-    return Math.floor(this.get('ramPerContainer') / 2);
+    return Math.floor(this.get('ramPerContainer'));
   }.property('ramPerContainer'),
 
   reduceMemory: function () {


Mime
View raw message