You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "amarnath reddy pappu (JIRA)" <ji...@apache.org> on 2017/11/14 22:38:00 UTC
[jira] [Assigned] (AMBARI-22446) Ambari Incorrectly Warns about
tez.tez-ui.history-url.base
[ https://issues.apache.org/jira/browse/AMBARI-22446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
amarnath reddy pappu reassigned AMBARI-22446:
---------------------------------------------
Assignee: amarnath reddy pappu
> Ambari Incorrectly Warns about tez.tez-ui.history-url.base
> ----------------------------------------------------------
>
> Key: AMBARI-22446
> URL: https://issues.apache.org/jira/browse/AMBARI-22446
> Project: Ambari
> Issue Type: Bug
> Components: ambari-sever
> Affects Versions: 2.5.2
> Environment: OS: RHEL-6 (64 Bit)
> Tez: 0.7.0
> Ambari: 2.5.2.0
> Reporter: Tamil Selvan Kandasamy
> Assignee: amarnath reddy pappu
> Priority: Minor
> Labels: triage
>
> 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://<host>: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://<host>: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:java}
> 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}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)