Skip to content

how to set hive SQLALCHEMY URI with username and password? #18699

Answered by zhaoyongjie
zhugw asked this question in Q&A / Help
Discussion options

You must be logged in to vote

Hi @zhugw, it depends on how to set authorization in Hive. When you are using HiveServer2 and plain authorization, try following URI

hive://username:password@hostname:port/database

When you are using https + HiveServer2, try following URI:

hive+https://username:password@localhost:10000/

reference

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@zhugw
Comment options

@YarpSue
Comment options

Answer selected by zhugw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:connect:hive Related to Hive
3 participants
Converted from issue

This discussion was converted from issue #18698 on February 14, 2022 03:13.