Support Questions
Find answers, ask questions, and share your expertise

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?