Skip to content

Commit

Permalink
fix(knox): livy servers port are hardcoded
Browse files Browse the repository at this point in the history
  • Loading branch information
PACordonnier authored and rpignolet committed Jan 24, 2025
1 parent fd9c1b2 commit 776f16c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tdp_vars_defaults/knox/knox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ tdpldap_services:
port: "{{ hbase_master_info_port }}"
LIVYSERVER:
hosts: "{% if groups['livy_server'] is defined %}{{ groups['livy_server'] | default([]) | map('tosit.tdp.access_fqdn', hostvars) | list }}{% else %}{% endif %}"
port: "8998"
port: "{% if livy_spark2_server_port is defined %}{{ livy_spark2_server_port }}{% else %}8998{% endif %}"
LIVYSERVER3:
hosts: "{% if groups['livy_spark3_server'] is defined %}{{ groups['livy_spark3_server'] | default([]) | map('tosit.tdp.access_fqdn', hostvars) | list }}{% else %}{% endif %}"
port: "8999"
port: "{% if livy_spark3_server_port is defined %}{{ livy_spark3_server_port }}{% else %}8999{% endif %}"
AVATICA:
hosts: "{% if groups['phoenix_queryserver_daemon'] is defined %}{{ groups['phoenix_queryserver_daemon'] | default([]) | map('tosit.tdp.access_fqdn', hostvars) | list }}{% else %}{% endif %}"
port: "{{ phoenix_queryserver_http_port }}"
Expand Down

0 comments on commit 776f16c

Please sign in to comment.