You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2014/02/20 23:42:45 UTC

git commit: AMBARI-4770. Tez clients should be installed on Hive server and Hive client nodes. (xiwang via yusaku)

Repository: ambari
Updated Branches:
  refs/heads/trunk 5beb18eff -> 1ee85af2a


AMBARI-4770. Tez clients should be installed on Hive server and Hive client nodes. (xiwang via yusaku)


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

Branch: refs/heads/trunk
Commit: 1ee85af2aca166eaf2af2334d0350e9aacd15202
Parents: 5beb18e
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Thu Feb 20 14:42:19 2014 -0800
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Thu Feb 20 14:42:35 2014 -0800

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step8_controller.js | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1ee85af2/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 1957bb2..ab0f909 100644
--- a/ambari-web/app/controllers/wizard/step8_controller.js
+++ b/ambari-web/app/controllers/wizard/step8_controller.js
@@ -956,6 +956,16 @@ App.WizardStep8Controller = Em.Controller.extend({
                 hostNames.pushObject(_masterHost.hostName);
               }, this);
               break;
+            case 'TEZ_CLIENT':
+              //install TEZ client on HIVE_SERVER, HIVE_CLIENT hosts.
+              //HIVE_CLIENT always installed on NAGIOS_SERVER host, so it is the same host with NAGIOS_SERVER and HIVE_CLIENT
+              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);
+              break;
           }
           hostNames = hostNames.uniq();