|
@@ -1151,7 +1151,7 @@ App.WizardStep8Controller = Em.Controller.extend({
|
|
var hostNames = _slave.hosts.mapProperty('hostName');
|
|
var hostNames = _slave.hosts.mapProperty('hostName');
|
|
switch (_client.component_name) {
|
|
switch (_client.component_name) {
|
|
case 'HDFS_CLIENT':
|
|
case 'HDFS_CLIENT':
|
|
- // install HDFS_CLIENT on HBASE_MASTER, HBASE_REGIONSERVER, WEBHCAT_SERVER, and HISTORYSERVER hosts
|
|
|
|
|
|
+ // install HDFS_CLIENT on HBASE_MASTER, HBASE_REGIONSERVER, WEBHCAT_SERVER, HISTORYSERVER and OOZIE_SERVER hosts
|
|
masterHosts.filterProperty('component', 'HBASE_MASTER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
|
|
masterHosts.filterProperty('component', 'HBASE_MASTER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
|
|
hostNames.pushObject(_masterHost.hostName);
|
|
hostNames.pushObject(_masterHost.hostName);
|
|
}, this);
|
|
}, this);
|
|
@@ -1164,6 +1164,9 @@ App.WizardStep8Controller = Em.Controller.extend({
|
|
masterHosts.filterProperty('component', 'HISTORYSERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
|
|
masterHosts.filterProperty('component', 'HISTORYSERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
|
|
hostNames.pushObject(_masterHost.hostName);
|
|
hostNames.pushObject(_masterHost.hostName);
|
|
}, this);
|
|
}, this);
|
|
|
|
+ masterHosts.filterProperty('component', 'OOZIE_SERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
|
|
|
|
+ hostNames.pushObject(_masterHost.hostName);
|
|
|
|
+ }, this);
|
|
break;
|
|
break;
|
|
case 'MAPREDUCE_CLIENT':
|
|
case 'MAPREDUCE_CLIENT':
|
|
// install MAPREDUCE_CLIENT on HIVE_SERVER, OOZIE_SERVER, NAGIOS_SERVER, and WEBHCAT_SERVER hosts
|
|
// install MAPREDUCE_CLIENT on HIVE_SERVER, OOZIE_SERVER, NAGIOS_SERVER, and WEBHCAT_SERVER hosts
|
|
@@ -1208,10 +1211,19 @@ App.WizardStep8Controller = Em.Controller.extend({
|
|
}, this);
|
|
}, this);
|
|
break;
|
|
break;
|
|
case 'YARN_CLIENT':
|
|
case 'YARN_CLIENT':
|
|
- // install YARN_CLIENT on NAGIOS_SERVER host
|
|
|
|
|
|
+ // install YARN_CLIENT on NAGIOS_SERVER,HIVE_SERVER,OOZIE_SERVER,WEBHCAT_SERVER host
|
|
masterHosts.filterProperty('component', 'NAGIOS_SERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
|
|
masterHosts.filterProperty('component', 'NAGIOS_SERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
|
|
hostNames.pushObject(_masterHost.hostName);
|
|
hostNames.pushObject(_masterHost.hostName);
|
|
}, this);
|
|
}, this);
|
|
|
|
+ masterHosts.filterProperty('component', 'HIVE_SERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
|
|
|
|
+ hostNames.pushObject(_masterHost.hostName);
|
|
|
|
+ }, this);
|
|
|
|
+ masterHosts.filterProperty('component', 'OOZIE_SERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
|
|
|
|
+ hostNames.pushObject(_masterHost.hostName);
|
|
|
|
+ }, this);
|
|
|
|
+ masterHosts.filterProperty('component', 'WEBHCAT_SERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
|
|
|
|
+ hostNames.pushObject(_masterHost.hostName);
|
|
|
|
+ }, this);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
hostNames = hostNames.uniq();
|
|
hostNames = hostNames.uniq();
|