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

Hive: Required field client protocol' is unset #1051

Open
changyuanxu opened this issue Feb 22, 2024 · 4 comments
Open

Hive: Required field client protocol' is unset #1051

changyuanxu opened this issue Feb 22, 2024 · 4 comments
Labels
NotActive question Further information is requested

Comments

@changyuanxu
Copy link

Connection error!
java.sql.SOLException: Could not establish connection to jdbc:hive2://xx.xx.xx.xx:10000/default: Required field
client protocol' is unset! Struct:TOpenSessionReq(client protocol:null, configuration:use:database=defaulty

@changyuanxu changyuanxu added the question Further information is requested label Feb 22, 2024
@cweijan
Copy link
Owner

cweijan commented Feb 22, 2024

This seems to be caused by a mismatch between the jdbc version and your hive version. What is your hive version?

@changyuanxu
Copy link
Author

.vscode\extensions\cweijan.dbclient-jdbc-1.3.4 [directory]--->jdbc-adapter-server-1.0-all.jar
.dbclient [directory]--->jdbc-adapter-server.jar
.dbclient [directory]\drivers--->hive-jdbc-uber-2.6.3.0-235.jar

@changyuanxu
Copy link
Author

Does it support TDH inceptor ( Transwarp Data Hub HIVE)

@changyuanxu
Copy link
Author

hive jdbc version 0.12

@cweijan cweijan changed the title Required field client protocol' is unset Hive: Required field client protocol' is unset May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NotActive question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants