incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject git commit: AMBARI-3483: Yarn client component should be installed on Oozie server host and webhcat server host. (jaimin)
Date Wed, 09 Oct 2013 00:48:41 GMT
Updated Branches:
  refs/heads/branch-1.4.1 4987d4626 -> 6b0a4610c


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/6b0a4610
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/6b0a4610
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/6b0a4610

Branch: refs/heads/branch-1.4.1
Commit: 6b0a4610c12a7d7e8094561a7be74fe4340cee47
Parents: 4987d46
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Tue Oct 8 17:47:43 2013 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Tue Oct 8 17:47:43 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/6b0a4610/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();


Mime
View raw message