ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject git commit: AMBARI-5661. YARN and MR2 failed to start after upgrade. Default value, if no YARN service. (swagle)
Date Fri, 02 May 2014 23:45:23 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk bb29f54c6 -> 4520a8125


AMBARI-5661. YARN and MR2 failed to start after upgrade. Default value, if no YARN service.
(swagle)


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

Branch: refs/heads/trunk
Commit: 4520a81252d807e91bc6f885a88e818b1ebf9e16
Parents: bb29f54
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Fri May 2 16:45:19 2014 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Fri May 2 16:45:19 2014 -0700

----------------------------------------------------------------------
 .../stacks/HDP/2.0.6/services/YARN/package/scripts/params.py       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4520a812/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/params.py
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/params.py
index c87135a..065467c 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/params.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/params.py
@@ -105,7 +105,7 @@ yarn_log_aggregation_enabled = config['configurations']['yarn-site']['yarn.log-a
 yarn_nm_app_log_dir =  config['configurations']['yarn-site']['yarn.nodemanager.remote-app-log-dir']
 mapreduce_jobhistory_intermediate_done_dir = config['configurations']['mapred-site']['mapreduce.jobhistory.intermediate-done-dir']
 mapreduce_jobhistory_done_dir = config['configurations']['mapred-site']['mapreduce.jobhistory.done-dir']
-jobhistory_heapsize = config['configurations']['global']['jobhistory_heapsize']
+jobhistory_heapsize = default("/configurations/global/jobhistory_heapsize", "900")
 
 #for create_hdfs_directory
 hostname = config["hostname"]


Mime
View raw message