kyuubi support

Open
#433 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
databases

Research direction

Start by tracing the hive.connect entry point and its existing authentication arguments. Compare the requested principal, kerberos_service_name, and configuration values with the current connection options; done means the documented Kyuubi connection pattern can be represented and verified by the project’s relevant tests.

Written by the indexing model from the issue text.

Description

beeline : "jdbc:hive2://hostName:10000/;principal=kyuubi/hostName@com"
I can't find anywhere to set the principal value.
What I want to use is like following pattern:

connection = hive.connect(
            host=host,
            port=self.configuration.get("port", None),
            username=self.configuration.get("username", None),
            database=self.configuration.get("database", "default"),
            auth='KERBEROS',
            principal='kyuubi',
            configuration={
                'spark.yarn.queue': 'queue-name',
                'kyuubi.session.cluster': 'cluster'
            },
            kerberos_service_name="kyuubi"
        )
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.