Title: Using Kerberos with Superset and PyHive to connect to a thrift server

Open
#479 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

No files, tests, or entry points are named. Start by reviewing the PyHive connection and authentication documentation and the Superset integration context; done would be a documented, repeatable setup covering dependencies, krb5.conf, keytab use, and non-interactive Kerberos authentication.

Written by the indexing model from the issue text.

Description

Hello PyHive community,

I'm currently using PyHive to connect to a Hive Thrift server that requires Kerberos authentication.

Request for Help:
Could you provide an example or some guidance on how to correctly set up Kerberos authentication for a PyHive connection from Superset, particularly when connecting to a Kerberos-enabled Hive Thrift server?
Are there any additional libraries or dependencies that I need for PyHive to handle Kerberos authentication seamlessly in this context?

Specifically, how can I properly utilize configuration files like krb5.conf or a keytab file to ensure a smooth connection? It would be helpful to understand how to set these up in the environment so that the authentication can proceed without manual intervention.
I haven't found specific examples on this topic, and any advice, particularly regarding the integration flow, dependencies, and configuration steps, would be highly appreciated.

Dominant language
Python
Stars
1.7k
Forks
545
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dropbox/PyHive

All issues in dropbox/PyHive

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.