[ https://issues.apache.org/jira/browse/AMBARI-25375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927977#comment-16927977 ]
Michael Miklavcic commented on AMBARI-25375: -------------------------------------------- I printed out the list of services and components and then grepped for empty hostnames. These are the components based on searching the attached ambari-2.7-hostnames.txt file. {code:java} grep -A1 'hostnames'\'': \[\]' ambari-2.7-hostnames.txt 'hostnames': [], 'component_name': 'PHOENIX_QUERY_SERVER'}, -- 'hostnames': [], 'component_name': 'NFS_GATEWAY'}, -- 'hostnames': [], 'component_name': 'METRON_ALERTS_UI'}, -- 'hostnames': [], 'component_name': 'METRON_INDEXING'}, -- 'hostnames': [], 'component_name': 'METRON_MANAGEMENT_UI'}, -- 'hostnames': [], 'component_name': 'METRON_PARSERS'}, -- 'hostnames': [], 'component_name': 'METRON_REST'}, -- 'hostnames': [], 'component_name': 'LIVY2_SERVER'}, -- 'hostnames': [], 'component_name': 'SPARK2_THRIFTSERVER'},{code} > Stack advisor does not provide hostnames for some components in MPack install > ----------------------------------------------------------------------------- > > Key: AMBARI-25375 > URL: https://issues.apache.org/jira/browse/AMBARI-25375 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.7.3 > Reporter: Michael Miklavcic > Priority: Major > Attachments: ambari-2.7-hostnames.txt > > > Apache Metron currently leverages the MPack feature for installing as a > service in Ambari. In 2.7.3.0 the stack advisor does not return hostnames for > all services and components. We've attempted a workaround in our > ServiceAdvisor, however testing in a multi-node cluster still results in > failures. > > [https://github.com/apache/metron/blob/bd9f70bbf9e9308f7688032b287ae448cb0614ca/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/service_advisor.py] > > Here is the test result on the ticket > [https://github.com/apache/metron/pull/1505#issuecomment-529450070] > -- This message was sent by Atlassian Jira (v8.3.2#803003)