java.sql.SQLException: [Simba][HiveJDBCDriver](500310) Invalid operation: java.net.ConnectException: Connection refused: connect;

Stack Overflow | diegosse | 1 month 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. 1

    Connection between a Java application and a database on Cloudera

    Stack Overflow | 1 month ago | diegosse
    java.sql.SQLException: [Simba][HiveJDBCDriver](500310) Invalid operation: java.net.ConnectException: Connection refused: connect;
  2. 0

    Error while connecting to impala with JDBC

    Stack Overflow | 2 years ago | Count
    java.lang.NoSuchFieldError: HIVE_CLI_SERVICE_PROTOCOL_V6
  3. 0

    Unable to connect to Impala through Java app using Impala JDBC Driver

    Stack Overflow | 2 months ago | 3Libras
    java.sql.SQLException: [Simba][ImpalaJDBCDriver](500164) Error initialized or created transport for authentication: null.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HIVE HA via zookeeper (JDBC)

    Stack Overflow | 1 year ago | Máté Balogh
    java.sql.SQLException: [Cloudera][HiveJDBCDriver](500170) Error occured while setting up Zookeeper Dynamic Discovery: [Cloudera][HiveJDBCDriver]Error Occured Connecting to ZooKeeper: At: hadoopcluster01:2181 With Error Message: Path length must be > 0..
  6. 0

    I am connecting to impala using JDBC and SSL certificate below is the code and error message

    Stack Overflow | 1 month ago | ashutosh singh
    java.sql.SQLException: [Simba]ImpalaJDBCDriver Error initialized or created transport for authentication: null.

  1. Mehul Parekh 1 times, last 1 year ago
  2. batwalrus76 2 times, last 3 days ago
  3. Dunmer 1 times, last 4 days ago
  4. Pilleo 1 times, last 7 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.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    6. java.net.PlainSocketImpl.connect(Unknown Source)
    7. java.net.SocksSocketImpl.connect(Unknown Source)
    8. java.net.Socket.connect(Unknown Source)
    8 frames
  3. Apache Thrift
    TSaslClientTransport.open
    1. org.apache.thrift.transport.TSocket.open(TSocket.java:180)
    2. org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:248)
    3. org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
    3 frames
  4. com.cloudera.hive
    AbstractDriver.connect
    1. com.cloudera.hive.hivecommon.api.HiveServer2ClientFactory.createTransport(HiveServer2ClientFactory.java:210)
    2. com.cloudera.hive.hive.api.ExtendedHS2Factory.createClient(ExtendedHS2Factory.java:38)
    3. com.cloudera.hive.hivecommon.core.HiveJDBCConnection.connect(HiveJDBCConnection.java:597)
    4. com.cloudera.hive.jdbc.common.BaseConnectionFactory.doConnect(BaseConnectionFactory.java:219)
    5. com.cloudera.hive.jdbc.common.AbstractDriver.connect(AbstractDriver.java:216)
    5 frames
  5. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  6. p
    p.main
    1. p.p.main(p.java:15)
    1 frame