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

AMBARI-2971. MapReduce2 HistoryServer failed to start with Class Not Found exception. (yusaku)

Yusaku Sako пре 11 година
родитељ
комит
cbad978dbf
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      ambari-web/app/controllers/wizard/step8_controller.js

+ 4 - 1
ambari-web/app/controllers/wizard/step8_controller.js

@@ -1147,7 +1147,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, and WEBHCAT_SERVER hosts
+              // install HDFS_CLIENT on HBASE_MASTER, HBASE_REGIONSERVER, WEBHCAT_SERVER, and HISTORYSERVER 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);
@@ -1157,6 +1157,9 @@ App.WizardStep8Controller = Em.Controller.extend({
               masterHosts.filterProperty('component', 'WEBHCAT_SERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
               masterHosts.filterProperty('component', 'WEBHCAT_SERVER').filterProperty('isInstalled', false).forEach(function (_masterHost) {
                 hostNames.pushObject(_masterHost.hostName);
                 hostNames.pushObject(_masterHost.hostName);
               }, this);
               }, this);
+              masterHosts.filterProperty('component', 'HISTORYSERVER').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