java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10001/;ssl=true;sslTrustSto re=truststore.jks;trustStorePassword=HiveJdbc: Could not connect to localhost on port 10001

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Firewall might be blocking your connection, or MySQL it's not running on your server machine.

,
Expert tip

Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.

Solutions on the web

via grokbase.com by Unknown author, 1 year ago
Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10001/;ssl=true;sslTrustSto re=truststore.jks;trustStorePassword=HiveJdbc: Could not connect to localhost on port 10001
via Stack Overflow by Devang
, 2 years ago
Could not open connection to jdbc:hive2://localhost:10000/default: java.net.SocketException: Connection reset
via Stack Overflow by Vinoth G
, 7 months ago
Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/default: java.net.ConnectException: Connection refused: connect
via Stack Overflow by Priyansh Saxena
, 10 months ago
Could not open client transport with JDBC Uri: jdbc:hive2://192.168.225.128:10015/default: java.net.ConnectException: Connection refused: connect
via hive-dev by Vaibhav Gumashta (JIRA), 1 year ago
Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10001/;ssl=true;sslTrustSto re=truststore.jks;trustStorePassword=HiveJdbc: Could not connect to localhost on port 10001
java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10001/;ssl=true;sslTrustSto re=truststore.jks;trustStorePassword=HiveJdbc: Could not connect to localhost on port 10001
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
at sun.security.ssl.SSLSocketImpl.(SSLSocketFactoryImpl.java:88)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.