java.sql.SQLException

Could not establish connection to jdbc:hive2://10.48.178. 206:10000/default: null

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12328

  • Could not establish connection to jdbc:hive2://10.48.178. 206:10000/default: null
  • via hortonworks.com by Unknown author, 1 year ago
    Could not establish connection to jdbc:hive2://localhost:10000/default: java.net.ConnectException: Connection refused
  • via grokbase.com by Unknown author, 1 year ago
    Could not establish connection to jdbc:hive2://uat-beeswax.kyc.ru:10000/default: java.net.SocketException: Connection reset
  • Stack trace

    • java.sql.SQLException: Could not establish connection to jdbc:hive2://10.48.178. 206:10000/default: null at org.apache.hive.jdbc.HiveConnection.openSession(HiveConnection.java:594) at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:192) at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:215) at huge.JdbcUtils.getConnection(JdbcUtils.java:52) at com.nsn.hadoop.thread.mysql.call(mysql.java:46) at com.nsn.hadoop.thread.mysql.call(mysql.java:1) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.apache.thrift.transport.TTransportException at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132) at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86) at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376) at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453) at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435) at org.apache.thrift.transport.TSaslClientTransport.read(TSaslClientTransport.java:37) at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86) at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429) at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318) at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219) at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 5 months ago
    Unknown user
    Once, 6 months ago
    Unknown user
    Once, 1 year ago
    25 more bugmates