activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tamil Selvan Kandasamy (JIRA)" <jira+amq...@apache.org>
Subject [jira] [Created] (OPENWIRE-15) Ambari Incorrectly Warns about tez.tez-ui.history-url.base
Date Tue, 14 Nov 2017 22:26:00 GMT
Tamil Selvan Kandasamy created OPENWIRE-15:
----------------------------------------------

             Summary: Ambari Incorrectly Warns about tez.tez-ui.history-url.base
                 Key: OPENWIRE-15
                 URL: https://issues.apache.org/jira/browse/OPENWIRE-15
             Project: ActiveMQ OpenWire
          Issue Type: Bug
         Environment: OS: RHEL-6 (64 Bit)
Ambari: 2.5.2.0
Tez: 0.7.0
            Reporter: Tamil Selvan Kandasamy
            Priority: Minor


In the ambari cluster where SSL in enabled, and ambari port is 8443, it wrongly displays the
warning as below:
***
tez.tez-ui.history-url.base:
It is recommended to set value https://knadar-kartik1.openstacklocal:8765/#/main/view/TEZ/tez_cluster_instance
for property tez.tez-ui.history-url.base
***
Before enabling SSL, Ambari was running on port 8765, and looks like "tez.tez-ui.history-url.base"
is still looking for older port.
Though we were able to connect Tez UI using: https://172.26.125.137:8443/#/main/view/TEZ/tez_cluster_instance
Hence, here ambari is providing a wrong warning.

Code snippet that is causing this issue is
https://github.com/apache/ambari/blob/release-2.5.1/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py
In below code we are always checking client.api.port for port - if https is enabled that it
should check the port at "client.api.ssl.port" instead of "client.api.port"
{code:xml}

    if serverProperties:
      if 'client.api.port' in serverProperties:
        server_port = serverProperties['client.api.port']
      if 'views.dir' in serverProperties:
        views_dir = serverProperties['views.dir']
      if 'api.ssl' in serverProperties:
        if serverProperties['api.ssl'].lower() == 'true':
          server_protocol = 'https'

{code:xml}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message