Updated Branches:
  refs/heads/branch-1.2.5 c145371be -> 72167a198

AMBARI-2534. Some memory configs are set to -1 in Ambari. (yusaku)


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

Branch: refs/heads/branch-1.2.5
Commit: 72167a198c2fda6e86c3dd96743be951463d2d71
Parents: c145371
Author: Yusaku Sako <[email protected]>
Authored: Wed Jul 17 15:59:04 2013 -0700
Committer: Yusaku Sako <[email protected]>
Committed: Wed Jul 17 16:05:35 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/data/HDP2/config_properties.js | 12 ++++++------
 ambari-web/app/data/config_properties.js      | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/72167a19/ambari-web/app/data/HDP2/config_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2/config_properties.js 
b/ambari-web/app/data/HDP2/config_properties.js
index 54e8311..0f08a66 100644
--- a/ambari-web/app/data/HDP2/config_properties.js
+++ b/ambari-web/app/data/HDP2/config_properties.js
@@ -474,7 +474,7 @@ module.exports =
       "name": "mapred_cluster_red_mem_mb",
       "displayName": "Cluster's Reduce slot size (virtual memory)",
       "description": "The virtual memory size of a single Reduce slot in the 
MapReduce framework",
-      "defaultValue": "-1",
+      "defaultValue": "2048",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,
@@ -497,7 +497,7 @@ module.exports =
       "name": "mapred_job_map_mem_mb",
       "displayName": "Default virtual memory for a job's map-task",
       "description": "Virtual memory for single Map task",
-      "defaultValue": "-1",
+      "defaultValue": "1536",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,
@@ -509,7 +509,7 @@ module.exports =
       "name": "mapred_job_red_mem_mb",
       "displayName": "Default virtual memory for a job's reduce-task",
       "description": "Virtual memory for single Reduce task",
-      "defaultValue": "-1",
+      "defaultValue": "2048",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,
@@ -556,7 +556,7 @@ module.exports =
       "name": "mapred_cluster_max_map_mem_mb",
       "displayName": "Upper limit on virtual memory for single Map task",
       "description": "Upper limit on virtual memory size for a single Map task 
of any MapReduce job",
-      "defaultValue": "-1",
+      "defaultValue": "6144",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,
@@ -568,7 +568,7 @@ module.exports =
       "name": "mapred_cluster_max_red_mem_mb",
       "displayName": "Upper limit on virtual memory for single Reduce task",
       "description": "Upper limit on virtual memory size for a single Reduce 
task of any MapReduce job",
-      "defaultValue": "-1",
+      "defaultValue": "4096",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,
@@ -591,7 +591,7 @@ module.exports =
       "name": "mapred_cluster_map_mem_mb",
       "displayName": "Cluster's Map slot size (virtual memory)",
       "description": "The virtual memory size of a single Map slot in the 
MapReduce framework",
-      "defaultValue": "-1",
+      "defaultValue": "1536",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/72167a19/ambari-web/app/data/config_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/config_properties.js 
b/ambari-web/app/data/config_properties.js
index a688534..b4eb2c8 100644
--- a/ambari-web/app/data/config_properties.js
+++ b/ambari-web/app/data/config_properties.js
@@ -688,7 +688,7 @@ module.exports =
       "name": "mapred_cluster_map_mem_mb",
       "displayName": "Cluster's Map slot size (virtual memory)",
       "description": "The virtual memory size of a single Map slot in the 
MapReduce framework",
-      "defaultValue": "-1",
+      "defaultValue": "1536",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,
@@ -701,7 +701,7 @@ module.exports =
       "name": "mapred_cluster_red_mem_mb",
       "displayName": "Cluster's Reduce slot size (virtual memory)",
       "description": "The virtual memory size of a single Reduce slot in the 
MapReduce framework",
-      "defaultValue": "-1",
+      "defaultValue": "2048",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,
@@ -714,7 +714,7 @@ module.exports =
       "name": "mapred_cluster_max_map_mem_mb",
       "displayName": "Upper limit on virtual memory for single Map task",
       "description": "Upper limit on virtual memory size for a single Map task 
of any MapReduce job",
-      "defaultValue": "-1",
+      "defaultValue": "6144",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,
@@ -727,7 +727,7 @@ module.exports =
       "name": "mapred_cluster_max_red_mem_mb",
       "displayName": "Upper limit on virtual memory for single Reduce task",
       "description": "Upper limit on virtual memory size for a single Reduce 
task of any MapReduce job",
-      "defaultValue": "-1",
+      "defaultValue": "4096",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,
@@ -740,7 +740,7 @@ module.exports =
       "name": "mapred_job_map_mem_mb",
       "displayName": "Default virtual memory for a job's map-task",
       "description": "Virtual memory for single Map task",
-      "defaultValue": "-1",
+      "defaultValue": "1536",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,
@@ -753,7 +753,7 @@ module.exports =
       "name": "mapred_job_red_mem_mb",
       "displayName": "Default virtual memory for a job's reduce-task",
       "description": "Virtual memory for single Reduce task",
-      "defaultValue": "-1",
+      "defaultValue": "2048",
       "displayType": "int",
       "unit": "MB",
       "isVisible": true,

Reply via email to