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 2018/07/19 15:21:32 UTC
[ambari] branch branch-2.7 updated: AMBARI-24310 UI sends host
check request for custom jdk with invalid hosts. (ababiichuk)
This is an automated email from the ASF dual-hosted git repository.
ababiichuk pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new 4b3611f AMBARI-24310 UI sends host check request for custom jdk with invalid hosts. (ababiichuk)
4b3611f is described below
commit 4b3611f44cbc179d68ed1867829cf331bbbfa795
Author: ababiichuk <ab...@hortonworks.com>
AuthorDate: Thu Jul 19 15:56:12 2018 +0300
AMBARI-24310 UI sends host check request for custom jdk with invalid hosts. (ababiichuk)
---
ambari-web/app/controllers/wizard/step3_controller.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ambari-web/app/controllers/wizard/step3_controller.js b/ambari-web/app/controllers/wizard/step3_controller.js
index 18d8e84..f6d9f21 100644
--- a/ambari-web/app/controllers/wizard/step3_controller.js
+++ b/ambari-web/app/controllers/wizard/step3_controller.js
@@ -725,9 +725,9 @@ App.WizardStep3Controller = Em.Controller.extend(App.ReloadPopupMixin, App.Check
},
doCheckJDK: function () {
- var hostsNames = (!this.get('content.installOptions.manualInstall')) ? this.get('bootHosts').filterProperty('bootStatus', 'REGISTERED').getEach('name').join(",") : this.get('bootHosts').getEach('name').join(",");
- var javaHome = this.get('javaHome');
- var jdkLocation = this.get('jdkLocation');
+ const hostsNames = this.get('bootHosts').filterProperty('bootStatus', 'REGISTERED').getEach('name').join(','),
+ javaHome = this.get('javaHome'),
+ jdkLocation = this.get('jdkLocation');
App.ajax.send({
name: 'wizard.step3.jdk_check',
sender: this,