You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by GitBox <gi...@apache.org> on 2019/09/08 15:33:15 UTC

[GitHub] [metron] justinleet commented on a change in pull request #1505: METRON-2250 Missing services in HDP 3.1 metron mpack and installer stuck

justinleet commented on a change in pull request #1505: METRON-2250 Missing services in HDP 3.1 metron mpack and installer stuck
URL: https://github.com/apache/metron/pull/1505#discussion_r322015747
 
 

 ##########
 File path: metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/service_advisor.py
 ##########
 @@ -41,21 +41,31 @@ def getServiceComponentLayoutValidations(self, services, hosts):
         componentsListList = [service["components"] for service in services["services"]]
         componentsList = [item["StackServiceComponents"] for sublist in componentsListList for item in sublist]
 
-        metronParsersHost = self.getHosts(componentsList, "METRON_PARSERS")[0]
-        metronEnrichmentMaster = self.getHosts(componentsList, "METRON_ENRICHMENT_MASTER")[0]
-        metronProfilerHost = self.getHosts(componentsList, "METRON_PROFILER")[0]
-        metronPcapHost = self.getHosts(componentsList, "METRON_PCAP")[0]
-        metronIndexingHost = self.getHosts(componentsList, "METRON_INDEXING")[0]
-        metronRESTHost = self.getHosts(componentsList, "METRON_REST")[0]
-        metronManagementUIHost = self.getHosts(componentsList, "METRON_MANAGEMENT_UI")[0]
-        metronAlertsUIHost = self.getHosts(componentsList, "METRON_ALERTS_UI")[0]
+        stormSupervisors = self.getHosts(componentsList, "SUPERVISOR")
+
+        # This host assignment strategy for Metron hosts is an ugly hack to get around an unreported bug in Ambari 2.7.
 
 Review comment:
   If it's unreported, we should report it and put the Jira number here instead.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services