Impala DVT connection does not allow use-ssl parameter that is allowed in impyla under the hood. #743
Labels
good first issue
Good issue for new DVT contributors
priority: p1
High priority. Fix may be included in the next release.
The use-ssl parameter is not included in the DVT connection parameters, however, the Impala connection I am working with today is kerberized and requires SSL flag to be true. I performed the following to get this to work. Plan to eventually submit a pull request once I get some time, but for now, here is the solution:
Add following lines of code after Line 35, 42,and 48 respectively:
professional-services-data-validator/third_party/ibis/ibis_impala/api.py
after line 35: use_ssl=False
after line 42: use_ssl = (use_ssl, False)[use_ssl is None]
after line 48: use_ssl=use_ssl,
Add the following line of code after Line 131 in:
professional-services-data-validator/data_validation/cli_tools.py
after line 131: ["use_ssl", "Use SSL when connecting to HiveServer2 (default is False)"],
Now this connection should work:
data-validation connections add --connection-name <Conneciton_Name> Impala --host --auth-mechanism GSSAPI --kerberos-service-name impala --port 21050 --use-ssl True
The text was updated successfully, but these errors were encountered: