java.sql.SQLException

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


Samebug tips9

To restart the Selenium Webdriver mock browser in a testcase, first use 'driver.close()' and then reinstantiate the driver.

Firewall might be blocking your connection, or MySQL it's not running on your server machine.

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


Solutions on the web8378

Solution icon of stackoverflow
[Simba][HiveJDBCDriver](500310) Invalid operation: java.net.ConnectException: Connection refused: connect;

Solution icon of web
via sourceforge.net by Unknown author, 1 year ago
[Simba][HiveJDBCDriver](500310) Invalid operation: Unable to obtain Principal Name for authentication ;

Solution icon of web
java.net.ConnectException: Connection refused: connect

Solution icon of googlegroups
via Google Groups by Albretch, 1 year ago
java.net.ConnectException: Connection refused: connect

Solution icon of apache
via hadoop-hive-user by Ronan Tobin, 1 year ago
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused: connect

Solution icon of web
via grokbase.com by Unknown author, 1 year ago
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused: connect

Solution icon of github
via GitHub by cfeduke
, 1 year ago
[Amazon](500310) Invalid operation: syntax error at or near ".";

Solution icon of github
via GitHub by chanansh
, 10 months ago
[Amazon](500310) Invalid operation: syntax error at or near "create";

Solution icon of github
[Amazon](500310) Invalid operation: cannot drop distkey column "columnName";

Solution icon of web
[Amazon](500310) Invalid operation: Query (3261) cancelled on user's request;

Stack trace

  • java.sql.SQLException: [Simba][HiveJDBCDriver](500310) Invalid operation: java.net.ConnectException: Connection refused: connect; at com.cloudera.hive.hivecommon.api.HiveServer2ClientFactory.createTransport(HiveServer2ClientFactory.java:224) at com.cloudera.hive.hive.api.ExtendedHS2Factory.createClient(ExtendedHS2Factory.java:38) at com.cloudera.hive.hivecommon.core.HiveJDBCConnection.connect(HiveJDBCConnection.java:597) at com.cloudera.hive.jdbc.common.BaseConnectionFactory.doConnect(BaseConnectionFactory.java:219) at com.cloudera.hive.jdbc.common.AbstractDriver.connect(AbstractDriver.java:216) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) Caused by: com.cloudera.hive.support.exceptions.GeneralException: [Simba][HiveJDBCDriver](500310) Invalid operation: java.net.ConnectException: Connection refused: connect; ... 7 more Caused by: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused: connect at org.apache.thrift.transport.TSocket.open(TSocket.java:185) at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:248) at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37) at com.cloudera.hive.hivecommon.api.HiveServer2ClientFactory.createTransport(HiveServer2ClientFactory.java:210) at com.cloudera.hive.hive.api.ExtendedHS2Factory.createClient(ExtendedHS2Factory.java:38) at com.cloudera.hive.hivecommon.core.HiveJDBCConnection.connect(HiveJDBCConnection.java:597) at com.cloudera.hive.jdbc.common.BaseConnectionFactory.doConnect(BaseConnectionFactory.java:219) at com.cloudera.hive.jdbc.common.AbstractDriver.connect(AbstractDriver.java:216) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at p.p.main(p.java:15) Caused by: java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at org.apache.thrift.transport.TSocket.open(TSocket.java:180) ... 10 more

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

3 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
991 more bugmates