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

set hive jdbc connection loginTimeout ,fixed the hive connection timeout error #1180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

awol2005ex
Copy link
Contributor

set hive jdbc connection loginTimeout ,fixed the hive connection timeout error

@wgzhao
Copy link
Owner

wgzhao commented Nov 11, 2024

According to the Hive JDBC driver source code, the setupLoginTimeout method references the socketTimeout parameter, so you can directly add the socketTimeout parameter to the JDBC driver URL to set the login timeout.

@awol2005ex
Copy link
Contributor Author

According to the Hive JDBC driver source code, the setupLoginTimeout method references the socketTimeout parameter, so you can directly add the socketTimeout parameter to the JDBC driver URL to set the login timeout.

Setting socketTimeout doesn't work, still reporting login timeout errors, even if I use the latest Hive JDBC driver.

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

Successfully merging this pull request may close these issues.

2 participants