Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbt-spark does not support secure ssl connection with hive #167

Closed
rahulgoyal2987 opened this issue May 12, 2021 · 3 comments
Closed

dbt-spark does not support secure ssl connection with hive #167

rahulgoyal2987 opened this issue May 12, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@rahulgoyal2987
Copy link
Contributor

rahulgoyal2987 commented May 12, 2021

Describe the feature

dbt-spark does not support secure ssl connection using hive.
pyhive does not support use_ssl hive feature. py_hive provide transport support using this secure ssl connenction can be created. pure-transport create transport object which can be passed to pyhive which can be used to support use_ssl feature. and certificate can be stored on default store location

If you are interested in feature I can create pull request for same

@rahulgoyal2987 rahulgoyal2987 added enhancement New feature or request triage labels May 12, 2021
@jtcohen6 jtcohen6 removed the triage label May 12, 2021
@jtcohen6
Copy link
Contributor

Hi @rahulgoyal2987, thanks for opening! Do you have a sense of how we'd add support for this? Does it look like new use_ssl parameter in profiles.yml, passed to hive.connect()?

@rahulgoyal2987
Copy link
Contributor Author

rahulgoyal2987 commented May 18, 2021

Hi @jtcohen6 I have added a pull request #169 for the same. I have tested the code on local and added the test cases also
SSL certificate can be stored on default store location which can get using below two lines of code
import ssl
ssl.get_default_verify_paths()

@jtcohen6
Copy link
Contributor

jtcohen6 commented Jun 7, 2021

Closed by #169

@jtcohen6 jtcohen6 closed this as completed Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants