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

hive-dev | Vaibhav Gumashta (JIRA) | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [jira] [Commented] (HIVE-8764) HiveServer2 SSL cannot recognize localhost

    apache.org | 1 year ago
    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
  2. 0

    Seen on windows and HS2 running in binary mode (http mode works fine; so does using dynamic service discovery). Previously jdbc clients could use localhost:port to connect to the server, now they explicitly need to specify hostname:port. With ZooKeeper indirection however, this is not an issue coz uris on ZK are added in the hostname:port format anyway.

    Apache's JIRA Issue Tracker | 2 years ago | Vaibhav Gumashta
    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
  3. 0

    [jira] [Commented] (HIVE-8764) HiveServer2 SSL cannot recognize localhost

    hive-dev | 2 years ago | Vaibhav Gumashta (JIRA)
    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OWASP ZAP Connection refused: connect (502 - Bad Gateway)

    Stack Overflow | 4 months ago | Morvael
    java.net.ConnectException: Connection refused: connect
  6. 0

    エミュ鯖構築方法+質問スレ - 1315916521 - メイプルエミュ鯖交流所

    shitaraba.net | 2 years ago
    java.net.ConnectException: Connection refused: connect

  1. dth8030 1 times, last 1 year ago
  2. batwalrus76 1 times, last 2 days ago
  3. Dunmer 1 times, last 3 days ago
  4. Pilleo 1 times, last 6 days ago
  5. johnxfly 5 times, last 1 week ago
58 more registered users
37 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused: connect

    at java.net.TwoStacksPlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    6. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    7. java.net.Socket.connect(Socket.java:579)
    7 frames
  3. Java JSSE
    SSLSocketFactoryImpl.createSocket
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
    2. sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:407)
    3. sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)
    3 frames
  4. Apache Thrift
    TSSLTransportFactory.createClient
    1. org.apache.thrift.transport.TSSLTransportFactory.createClient(TSSLTransportFactory.java:208)
    1 frame