java.sql.SQLException

Could not open client transport with JDBC Uri: jdbc:hive2://192.168.225.128:10015/default: java.net.ConnectException: Connection refused: connect


Samebug tips1

Make sure you have started the Hive Thrift server.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web11915

Solution icon of stackoverflow
Could not open client transport with JDBC Uri: jdbc:hive2://192.168.225.128:10015/default: java.net.ConnectException: Connection refused: connect

Solution icon of stackoverflow
Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/default: java.net.ConnectException: Connection refused: connect

Solution icon of stackoverflow
Could not open client transport with JDBC Uri: jdbc:hive2://127.0.0.1:10000/default: java.net.ConnectException: Connection refused

Solution icon of stackoverflow
Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/default: java.net.ConnectException: Connection refused

Solution icon of stackoverflow
via Stack Overflow by user6608138
, 9 months ago
Could not open client transport with JDBC Uri: jdbc:hive2://hostname:10000/test: java.net.ConnectException: Connection refused: connect

Solution icon of stackoverflow
Could not open client transport with JDBC Uri: jdbc:hive2://192.168.1.4:9000/default: java.net.ConnectException: Connection refused

Solution icon of web
via filegala.com by Unknown author, 1 year ago
Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/default: java.net.ConnectException: Connection refused

Solution icon of stackoverflow
via Stack Overflow by Aarya Bhatt
, 11 months ago
Could not open client transport with JDBC Uri: jdbc:hive2://192.168.1.138:9000/default: java.net.ConnectException: Connection refused

Solution icon of stackoverflow
Could not open client transport with JDBC Uri: jdbc:hive2://localhost:8158: java.net.ConnectException: Connection refused

Solution icon of web
Could not open client transport with JDBC Uri: jdbc:hive2://ip:10000/db: java.net.ConnectException: Connection timed out: connect

Stack trace

  • java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://192.168.225.128:10015/default: java.net.ConnectException: Connection refused: connect at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:215) at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:163) at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:247)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago