hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brajmohan saxena <>
Subject How to setup Hive JDBC client to connect remote Hiveserver
Date Mon, 04 Apr 2016 02:43:16 GMT

Could you please tell me how to connect a simple JDBC program to remote
Hiveserver2 with default Derby database.

I have Hiveserver2 running on remote machine and i am trying to run simple
JDBC program from client machine (
DriverManager.getConnection("jdbc:hive2://", "",
""); )

but getting the following error.

Error: Could not open client transport with JDBC Uri: jdbc:hive2:// Connection refused

Do I need to change hive-site.xml file at server side.

Thanks in advance



View raw message