java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:8158: java.net.ConnectException: Connection refused

Stack Overflow | rhea sinha | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    How do I connect to Hive on EMR through Eclipse?

    Stack Overflow | 1 year ago | rhea sinha
    java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:8158: java.net.ConnectException: Connection refused
  2. 0

    Connection to Spark SQL JDBC through Java Application fails

    Stack Overflow | 3 months ago | Priyansh Saxena
    java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://192.168.225.128:10015/default: java.net.ConnectException: Connection refused: connect
  3. 0

    GSS initiate failed exception

    Stack Overflow | 3 weeks ago | user2192023
    java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://100.100.1100.320:10000/db;principal=hive/someNode@company.LOCAL: GSS initiate failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connection refused to HiveServer2 via JDBC - Hortonworks

    hortonworks.com | 1 year ago
    java.sql.SQLException: Could not establish connection to jdbc:hive2://localhost:10000/default: java.net.ConnectException: Connection refused
  6. 0

    Getting error... in java hive connection while using hive.execution.engine=tez insted of mr

    Stack Overflow | 2 years ago
    java.sql.SQLException: java.lang.NoClassDefFoundError: org/apache/tez/dag/api/SessionNotRunning

    4 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.sql.SQLException

      Could not open client transport with JDBC Uri: jdbc:hive2://localhost:8158: java.net.ConnectException: Connection refused

      at org.apache.hive.jdbc.HiveConnection.openTransport()
    2. org.apache.hive
      HiveDriver.connect
      1. org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:215)
      2. org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:163)
      3. org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
      3 frames
    3. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:664)
      2. java.sql.DriverManager.getConnection(DriverManager.java:247)
      2 frames
    4. com.readypulse.sparkanalytics
      HiveQLConnector.main
      1. com.readypulse.sparkanalytics.HiveQLConnector.<init>(HiveQLConnector.java:31)
      2. com.readypulse.sparkanalytics.HiveQLConnector.main(HiveQLConnector.java:83)
      2 frames