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

add livy auth support #6

Merged

Conversation

ipattarapong
Copy link

@ipattarapong ipattarapong commented Sep 28, 2020

Add Livy Auth support on Databand config, currently is default to no auth option for the livy config.

  • add option to select auth method (None, Kerberos, Basic_Access)
  • add option to ignore verify ssl error

@@ -68,7 +72,7 @@ def _run_spark_submit(self, file, jars):
livy_endpoint = self.get_livy_endpoint()
self.task_run.set_external_resource_urls({"Livy url": livy_endpoint.url})
logger.info("Connecting to: %s", livy_endpoint)
livy = LivyBatchClient.from_endpoint(livy_endpoint)
livy = LivyBatchClient.from_endpoint(livy_endpoint, self.get_livy_ignore_ssl_errors())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like we are missing commit around LivyBatchClient change. I'll add it.

@evgenyshulman evgenyshulman changed the base branch from master to feature/livy_auth September 30, 2020 18:13
@evgenyshulman evgenyshulman merged commit c403c73 into databand-ai:feature/livy_auth Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants