activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tamil Selvan Kandasamy (JIRA)" <>
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
             Project: ActiveMQ OpenWire
          Issue Type: Bug
         Environment: OS: RHEL-6 (64 Bit)
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:
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:
Hence, here ambari is providing a wrong warning.

Code snippet that is causing this issue is
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"

    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'


This message was sent by Atlassian JIRA

View raw message