AMBARI-20406. Inconsistent behavior of stack advisor while deleting Spark 
service (akovalenko)


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

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: ff235b4904fc4a3334e841ea06b65df17109f5f6
Parents: 1cb3da8
Author: Aleksandr Kovalenko <akovale...@hortonworks.com>
Authored: Sun Mar 12 03:37:15 2017 +0200
Committer: Aleksandr Kovalenko <akovale...@hortonworks.com>
Committed: Sun Mar 12 03:40:01 2017 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/item.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ff235b49/ambari-web/app/controllers/main/service/item.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/item.js 
b/ambari-web/app/controllers/main/service/item.js
index 817d5d9..5169564 100644
--- a/ambari-web/app/controllers/main/service/item.js
+++ b/ambari-web/app/controllers/main/service/item.js
@@ -191,6 +191,7 @@ App.MainServiceItemController = 
Em.Controller.extend(App.SupportClientConfigsDow
    */
   loadConfigs: function(){
     this.set('isServiceConfigsLoaded', false);
+    this.set('stepConfigs', []);
     App.ajax.send({
       name: 'config.tags',
       sender: this,
@@ -1317,6 +1318,7 @@ App.MainServiceItemController = 
Em.Controller.extend(App.SupportClientConfigsDow
         isDefault: true
       })
     });
+    this.loadConfigs();
     App.get('router.mainController.isLoading').call(this, 
'isServiceConfigsLoaded').done(callback);
     return App.ModalPopup.show({
       controller: self,

Reply via email to