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 2013/12/12 13:40:44 UTC
[2/2] git commit: AMBARI-4049 Registration fail of host should be
handled more gracefully. (ababiichuk)
AMBARI-4049 Registration fail of host should be handled more gracefully. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/cf811e2c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cf811e2c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cf811e2c
Branch: refs/heads/trunk
Commit: cf811e2c2f7f94c52ae42d1e29be60e816520b2d
Parents: 66e1f0d
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Thu Dec 12 14:18:13 2013 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Thu Dec 12 14:18:13 2013 +0200
----------------------------------------------------------------------
ambari-web/app/controllers/wizard/step3_controller.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/cf811e2c/ambari-web/app/controllers/wizard/step3_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step3_controller.js b/ambari-web/app/controllers/wizard/step3_controller.js
index 63a79da..b5e56dd 100644
--- a/ambari-web/app/controllers/wizard/step3_controller.js
+++ b/ambari-web/app/controllers/wizard/step3_controller.js
@@ -363,7 +363,7 @@ App.WizardStep3Controller = Em.Controller.extend({
}
}
- if (data.hostsStatus.someProperty('status', 'DONE') || data.hostsStatus.someProperty('status', 'FAILED')) {
+ if (data.status == 'ERROR' || data.hostsStatus.someProperty('status', 'DONE') || data.hostsStatus.someProperty('status', 'FAILED')) {
// kicking off registration polls after at least one host has succeeded
this.startRegistration();
}