Dmytro Grinenko reassigned AMBARI-25502:

    Assignee: Dmytro Grinenko

> Spark2 service check fails when SSL is enabled
> ----------------------------------------------
>                 Key: AMBARI-25502
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25502
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.7.5
>            Reporter: Jesus Perez Rey
>            Assignee: Dmytro Grinenko
>            Priority: Major
> AMBARI-18091 fixed Spark2 service check to use the correct URL scheme (HTTPS) 
> to connect to Spark2 History Server when SSL is enabled. But also, for some 
> reason that I can't understand, it adds 400 to spark_history_ui_port` when 
> connecting if SSL is enabled:
> {code:java}
> if ui_ssl_enabled:
>   spark_history_ui_port = str(int(spark_history_ui_port) + 400){code}
> So if SSL is enabled and `spark_history_ui_port` is 18081, the service check 
> will actually try to connect to port 18481 and will fail.
> I know the stacks where removed from Ambari, but this is still affecting the 
> latest stable version available to download.

This message was sent by Atlassian Jira

Reply via email to