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.

Connection to Hive via JDBC not working with multiple services

Highlighted

Connection to Hive via JDBC not working with multiple services

Contributor

Hello,

I have a service that connects to Hive via JDBC. When I start it on a machine (A) it's writing data to Hive. When I start the same service again on another machine (B) the call

pstmt.executeUpdate();

does not return. there is no exception or anything, I had it running for more than 10 minutes as well.

Why is it working on one machine, but not the other? it's the same connection string.

Thanks and BR

1 REPLY 1

Re: Connection to Hive via JDBC not working with multiple services

Master Collaborator

Can you check the logs on the HS2 server which you are pointing your JDBC client against?

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