Skip to content

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

@anamitraadhikari

Description

@anamitraadhikari

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions