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

kyuubi support #433

Open
Liaomessi opened this issue Mar 18, 2022 · 3 comments
Open

kyuubi support #433

Liaomessi opened this issue Mar 18, 2022 · 3 comments

Comments

@Liaomessi
Copy link

Liaomessi commented Mar 18, 2022

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"
        )
@gaecoli
Copy link

gaecoli commented Sep 28, 2022

其实不用 principal 也可以连接使用的

@fptl120510
Copy link

fptl120510 commented Oct 11, 2022 via email

@gaecoli
Copy link

gaecoli commented Oct 11, 2022

Thank you very very very much!

------------------ 原始邮件 ------------------ 发件人: "dropbox/PyHive" @.>; 发送时间: 2022年3月18日(星期五) 中午11:55 @.>; @.>; 主题: [dropbox/PyHive] kyuubi support (Issue #433) beeline : @." 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" ) — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>

👍

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

No branches or pull requests

3 participants