You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/06/26 19:56:55 UTC

ambari git commit: AMBARI-12174 Unable to proceed from step 9 of installer. (ababiichuk)

Repository: ambari
Updated Branches:
  refs/heads/trunk e229e7b77 -> 0376eb1a3


AMBARI-12174 Unable to proceed from step 9 of installer. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: 0376eb1a3c8dc0b73b3cb1fcc1c0a50a26deeb0f
Parents: e229e7b
Author: aBabiichuk <ab...@hortonworks.com>
Authored: Fri Jun 26 20:56:13 2015 +0300
Committer: aBabiichuk <ab...@hortonworks.com>
Committed: Fri Jun 26 20:56:13 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step9_controller.js | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0376eb1a/ambari-web/app/controllers/wizard/step9_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step9_controller.js b/ambari-web/app/controllers/wizard/step9_controller.js
index a6a49f0..0e695b9 100644
--- a/ambari-web/app/controllers/wizard/step9_controller.js
+++ b/ambari-web/app/controllers/wizard/step9_controller.js
@@ -769,9 +769,8 @@ App.WizardStep9Controller = Em.Controller.extend(App.ReloadPopupMixin, {
    */
   setFinishState: function (polledData) {
     if (this.get('content.cluster.status') === 'INSTALLED') {
-      var self = this;
-      Em.run.next(function(){
-        self.changeParseHostInfo(this.isServicesStarted(polledData));
+      Em.run.next(this, function(){
+        this.changeParseHostInfo(this.isServicesStarted(polledData));
       });
       return;
     } else if (this.get('content.cluster.status') === 'PENDING') {
@@ -787,7 +786,7 @@ App.WizardStep9Controller = Em.Controller.extend(App.ReloadPopupMixin, {
   },
 
   /**
-   * @param polledData Josn data retrieved from API
+   * @param polledData JSON data retrieved from API
    * @returns {bool} Has "Start All Services" request completed successfully
    * @method isServicesStarted
    */