You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/09/04 10:18:09 UTC

[ambari] branch branch-2.7 updated: AMBARI-24585 'yarn.nodemanager.linux-container-executor.cgroups.hierarchy' is not equal to the value of yarn_hierarchy in UI Deploy

This is an automated email from the ASF dual-hosted git repository.

atkach pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 829e3fd  AMBARI-24585 'yarn.nodemanager.linux-container-executor.cgroups.hierarchy' is not equal to the value of yarn_hierarchy in UI Deploy
829e3fd is described below

commit 829e3fd984a915a44a26ddfa8e33826c1bdc7f56
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Mon Sep 3 19:50:09 2018 +0300

    AMBARI-24585 'yarn.nodemanager.linux-container-executor.cgroups.hierarchy' is not equal to the value of yarn_hierarchy in UI Deploy
---
 ambari-web/app/mixins/common/configs/config_recommendation_parser.js | 1 +
 ambari-web/app/views/common/configs/service_config_container_view.js | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ambari-web/app/mixins/common/configs/config_recommendation_parser.js b/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
index 49b86a1..329d1fc 100644
--- a/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
+++ b/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
@@ -137,6 +137,7 @@ App.ConfigRecommendationParser = Em.Mixin.create(App.ConfigRecommendations, {
           if (configs.length) {
             var mergedConfigs = configs.concat(stepConfig.get('configs'));
             stepConfig.set('configs', mergedConfigs);
+            stepConfig.propertyDidChange('redrawConfigs');
           }
         }
       }
diff --git a/ambari-web/app/views/common/configs/service_config_container_view.js b/ambari-web/app/views/common/configs/service_config_container_view.js
index 0018117..3b4bf63 100644
--- a/ambari-web/app/views/common/configs/service_config_container_view.js
+++ b/ambari-web/app/views/common/configs/service_config_container_view.js
@@ -106,7 +106,7 @@ App.ServiceConfigContainerView = Em.ContainerView.extend({
     //terminate lazy loading when switch service
     if (this.get('lazyLoading')) lazyLoading.terminate(this.get('lazyLoading'));
     this.pushViewAfterRecommendation();
-  }.observes('controller.selectedService'),
+  }.observes('controller.selectedService', 'controller.selectedService.redrawConfigs'),
 
   pushViewAfterRecommendation: function() {
     if (this.get('controller.isRecommendedLoaded')) {