Repository: ambari
Updated Branches:
  refs/heads/trunk 96285c827 -> 5b6223f6b


AMBARI-8513. "Host doesn't exist in database" exception in log after failed 
agent registration (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 5b6223f6b04b7045c55659fe081657538bba523b
Parents: 96285c8
Author: Alex Antonenko <hiv...@gmail.com>
Authored: Tue Dec 2 20:49:47 2014 +0200
Committer: Alex Antonenko <hiv...@gmail.com>
Committed: Tue Dec 2 20:49:47 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/5b6223f6/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 8a6c54a..0513e42 100644
--- a/ambari-web/app/controllers/wizard/step3_controller.js
+++ b/ambari-web/app/controllers/wizard/step3_controller.js
@@ -715,7 +715,7 @@ App.WizardStep3Controller = Em.Controller.extend({
   },
 
   doCheckJDK: function () {
-    var hostsNames = this.get('bootHosts').getEach('name').join(",");
+    var hostsNames = this.get('bootHosts').filterProperty('bootStatus', 
'REGISTERED').getEach('name').join(",");
     var javaHome = this.get('javaHome');
     var jdkLocation = this.get('jdkLocation');
     App.ajax.send({
@@ -826,7 +826,7 @@ App.WizardStep3Controller = Em.Controller.extend({
   },
 
   getHostNameResolution: function () {
-    var hosts = this.get('bootHosts').getEach('name').join(",");
+    var hosts = this.get('bootHosts').filterProperty('bootStatus', 
'REGISTERED').getEach('name').join(",");
     var jdk_location = 
App.router.get('clusterController.ambariProperties.jdk_location');
     var RequestInfo = {
       "action": "check_host",

Reply via email to