TOSIT-IO / tdp-collection-extras

Ansible roles to deploy the extra components of TDP
Apache License 2.0
5 stars 13 forks source link

Missing variables for service port and firewall configuration #145

Open KaidoKopli opened 1 year ago

KaidoKopli commented 1 year ago

Installing TDP lib on freshly imaged machine we noticed that all firewall ports were not properly open by the firewalld playbook (ansible_collection/tosit/tdp_extra/playbooks/meta/firewall.yml).

Comparing with the pre TDP lib deployment method we noted the following, ports and port ranges were missing from tdp-cluster.yml

hdfs_nn: [9820] dfs.namenode.rpc-address hdfs_dn: [1004] dfs.datanode.address hive_s2: [10002] hive. server2. webui.port

We suggest that variables are added to the playbook for services listening to these ports as well as variables for the missing port ranges.

New variables for services should be used in the corresponding playbooks instead of hardcoded port values and the firewalld playbook should make sure network flows are open for the services and port ranges.

Is there some plan to add livy variables in the tdp-cluster.yml?

GuillaumeHold commented 1 year ago

This is probably a configuration issue.The properties are defined in tdp-collection as follow :

The configured port are: