AMBARI-20431. ADDENDUM. Increase the calculated AM size for llap.
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/72b30848 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/72b30848 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/72b30848 Branch: refs/heads/branch-feature-AMBARI-12556 Commit: 72b3084834e03e883079c4253b6d27653603156e Parents: f92e8c9 Author: Swapan Shridhar <[email protected]> Authored: Mon Mar 13 16:39:47 2017 -0700 Committer: Swapan Shridhar <[email protected]> Committed: Mon Mar 13 16:39:47 2017 -0700 ---------------------------------------------------------------------- .../common-services/YARN/3.0.0.3.0/service_advisor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/72b30848/ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/service_advisor.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/service_advisor.py b/ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/service_advisor.py index 3d77a26..4fdf84f 100644 --- a/ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/service_advisor.py +++ b/ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/service_advisor.py @@ -1451,10 +1451,10 @@ yarn.scheduler.capacity.root.{0}.maximum-am-resource-percent=1""".format(llap_qu if is_cluster_create_opr or enable_hive_interactive_1st_invocation: if total_cluster_capacity <= 4096: calculated_tez_am_resource_memory_mb = 256 - elif total_cluster_capacity > 4096 and total_cluster_capacity <= 73728: - calculated_tez_am_resource_memory_mb = 512 - elif total_cluster_capacity > 73728: - calculated_tez_am_resource_memory_mb = 1536 + elif total_cluster_capacity > 4096 and total_cluster_capacity <= 98304: + calculated_tez_am_resource_memory_mb = 1024 + elif total_cluster_capacity > 98304: + calculated_tez_am_resource_memory_mb = 4096 Logger.info("DBG: Calculated and returning 'tez_am_resource_memory_mb' as : {0}".format(calculated_tez_am_resource_memory_mb)) return float(calculated_tez_am_resource_memory_mb)
