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 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, 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'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.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.(SSLSocketImpl.java:407)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)

Users with the same issue

Once, 1 month ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year 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.