incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject git commit: AMBARI-3386 Overall progress is shown as 0% on Retry during Install phase
Date Mon, 30 Sep 2013 15:29:15 GMT
Updated Branches:
  refs/heads/branch-1.4.1 8f530cc85 -> 779982584


AMBARI-3386 Overall progress is shown as 0% on Retry during Install phase


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

Branch: refs/heads/branch-1.4.1
Commit: 779982584b6502a58de80ae7d9f00bb75c2b58e6
Parents: 8f530cc
Author: aBabiichuk <ababiichuk@cybervisiontech.com>
Authored: Mon Sep 30 18:26:43 2013 +0300
Committer: aBabiichuk <ababiichuk@cybervisiontech.com>
Committed: Mon Sep 30 18:26:43 2013 +0300

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


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/77998258/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 e63fa5a..2bbc934 100644
--- a/ambari-web/app/controllers/wizard/step9_controller.js
+++ b/ambari-web/app/controllers/wizard/step9_controller.js
@@ -680,6 +680,9 @@ App.WizardStep9Controller = Em.Controller.extend({
       var actionsPerHost = tasksData.filterProperty('Tasks.host_name', _host.name); // retrieved
from polled Data
       if (actionsPerHost.length === 0) {
         _host.set('message', this.t('installer.step9.host.status.nothingToInstall'));
+        if (_host.get('progress') == 0) {
+          _host.set('progress', '33');
+        }
         console.log("INFO: No task is hosted on the host");
       }
       if (actionsPerHost !== null && actionsPerHost !== undefined && actionsPerHost.length
!== 0) {


Mime
View raw message