Updated Branches: refs/heads/trunk b0c07e197 -> 96d67e373
AMBARI-3483: Yarn client component should be installed on Oozie server host and webhcat server host. (jaimin) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/96d67e37 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/96d67e37 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/96d67e37 Branch: refs/heads/trunk Commit: 96d67e3738c02a5a679e7fac51217a21c61a9d67 Parents: b0c07e1 Author: Jaimin Jetly <[email protected]> Authored: Tue Oct 8 17:47:43 2013 -0700 Committer: Jaimin Jetly <[email protected]> Committed: Tue Oct 8 17:49:15 2013 -0700 ---------------------------------------------------------------------- .../app/controllers/wizard/step8_controller.js | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/96d67e37/ambari-web/app/controllers/wizard/step8_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/wizard/step8_controller.js b/ambari-web/app/controllers/wizard/step8_controller.js index 59436c4..798afcf 100644 --- a/ambari-web/app/controllers/wizard/step8_controller.js +++ b/ambari-web/app/controllers/wizard/step8_controller.js @@ -1151,7 +1151,7 @@ App.WizardStep8Controller = Em.Controller.extend({ var hostNames = _slave.hosts.mapProperty('hostName'); switch (_client.component_name) { 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) { hostNames.pushObject(_masterHost.hostName); }, this); @@ -1164,6 +1164,9 @@ App.WizardStep8Controller = Em.Controller.extend({ masterHosts.filterProperty('component', 'HISTORYSERVER').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); break; case 'MAPREDUCE_CLIENT': // install MAPREDUCE_CLIENT on HIVE_SERVER, OOZIE_SERVER, NAGIOS_SERVER, and WEBHCAT_SERVER hosts @@ -1208,10 +1211,19 @@ App.WizardStep8Controller = Em.Controller.extend({ }, this); break; 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) { hostNames.pushObject(_masterHost.hostName); }, 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; } hostNames = hostNames.uniq();
