Updated Branches: refs/heads/trunk 5e9671675 -> 552f007f9
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/552f007f Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/552f007f Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/552f007f Branch: refs/heads/trunk Commit: 552f007f9ce91e49f28a1c2081d89c130f391ba6 Parents: 5e96716 Author: Yusaku Sako <[email protected]> Authored: Wed Jul 17 15:59:04 2013 -0700 Committer: Yusaku Sako <[email protected]> Committed: Wed Jul 17 15:59:04 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/552f007f/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/552f007f/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,
