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

Stack Overflow | diegosse | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 1

    Connection between a Java application and a database on Cloudera

    Stack Overflow | 2 months 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

    connect to hive using JDBC in a secured kerberos cluster using keytab - CONN_KERBEROS_AUTHENTICATION_ERROR_GET_JAASCONFIGURE

    Stack Overflow | 4 weeks ago | srinath
    java.sql.SQLException: [Cloudera]HiveJDBCDriver Error initialized or created transport for authentication: CONN_KERBEROS_AUTHENTICATION_ERROR_GET_JAASCONFIGURE.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    Stack Overflow | 4 months ago | 3Libras
    java.sql.SQLException: [Simba][ImpalaJDBCDriver](500164) Error initialized or created transport for authentication: null.
  6. 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..

  1. Mehul Parekh 1 times, last 1 year ago
  2. osvzs 4 times, last 7 hours ago
  3. poroszd 2 times, last 3 days ago
  4. raytest 3 times, last 2 weeks ago
  5. Dunmer 264 times, last 3 weeks ago
62 more registered users
33 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