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

,

Make sure your server started correctly and is listening correctly on the correct port.

,
Expert tip

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

Solutions on the web

via Apache's JIRA Issue Tracker by Vaibhav Gumashta, 1 year ago
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
via apache.org by Unknown author, 2 years 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 Apache's JIRA Issue Tracker by Hari Sankar Sivarama Subramaniyan, 1 year ago
Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10001/default?httpPath=/;transportMode=http: Invalid status 72
via hortonworks.com by Unknown author, 1 year ago
Could not open client transport with JDBC Uri: jdbc:hive2://deala01876.corp:10000/default: Peer indicated failure: Unsupported mechanism type PLAIN
via Stack Overflow by Devang
, 2 years ago
Could not open connection to jdbc:hive2://localhost:10000/default: java.net.SocketException: Connection reset
java.net.ConnectException: Connection refused: connect
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.(SSLSocketImpl.java:407)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)

Users with the same issue

11 times, 4 weeks ago
Once, 8 months ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago

Write tip

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