Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

jdbc connection url

Highlighted

jdbc connection url

Explorer

I have a problem with jdbc connection url. User that has permission has changed so now this type of url

 

jdbc:hive2://node1:100000/default/;auth=noSasl

 

doesn't work. 

When I try to add user=newUser to the url, it won't work either.

 

How to solve this?

2 REPLIES 2
Highlighted

Re: jdbc connection url

Hi MarsaPalas,

 

What is the error message?

 

It seems like you're trying to connect to HiveServer2. HS2's default port is 10000, but you added an extra 0 in your URL.

 

Also, you may want to try your question with the Hive experts on this forum:

http://community.cloudera.com/t5/Batch-SQL-Apache-Hive/bd-p/Hive

 

This forum is for questions about Cloudera Manager.

 

Thanks,

Darren

Highlighted

Re: jdbc connection url

Explorer

I thank you for your reply. The url I've wrote was just an example for description, I used the valid one.

Anyway, I found out that this is a bug in the current version of jdbc hive, and that the next version is going to fix this.

Don't have an account?
Coming from Hortonworks? Activate your account here