Преглед изворни кода

AMBARI-1342. Hive client is not installed on Nagios server host. (jaimin)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1442456 13f79535-47bb-0310-9956-ffa450edef68
Jaimin Jetly пре 12 година
родитељ
комит
21ef37e7dd
2 измењених фајлова са 12 додато и 0 уклоњено
  1. 4 0
      CHANGES.txt
  2. 8 0
      ambari-web/app/controllers/wizard/step8_controller.js

+ 4 - 0
CHANGES.txt

@@ -38,6 +38,9 @@ Trunk (unreleased changes):
 
  IMPROVEMENTS
 
+ AMBARI-1342. Hive client is not installed on Nagios server host.
+ (jaimin)
+
  AMBARI-1341. Add Hosts: update the API call for new operator precedence.
  (yusaku) 
 
@@ -1419,3 +1422,4 @@ AMBARI-666 branch:
   AMBARI-684. Remove non-required dependencies from pom files (hitesh via jitendra)
 
   AMBARI-680. Fix pom structure. (hitesh)
+

+ 8 - 0
ambari-web/app/controllers/wizard/step8_controller.js

@@ -1059,6 +1059,14 @@ App.WizardStep8Controller = Em.Controller.extend({
                   hostNames.pushObject(_masterHost.hostName);
                 }, this);
                 break;
+
+              case 'HIVE_CLIENT':
+                //install HIVE client on NAGIOS_SERVER host
+                masterHosts.filterProperty('component', 'NAGIOS_SERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
+                  hostNames.pushObject(_masterHost.hostName);
+                }, this);
+                break;
+
               case 'HCAT':
                 // install HCAT (client) on NAGIOS_SERVER host
                 masterHosts.filterProperty('component', 'NAGIOS_SERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {