Reply
Highlighted
New Contributor
Posts: 1
Registered: ‎01-03-2019

Hi, I'm not able to establish connection to Impala from Java.

[ Edited ]

I am getting the below error:

 

at org.apache.thrift.transport.TIOStreamTransport.<clinit>(TIOStreamTransport.java:38)
            at com.cloudera.impala.hivecommon.api.HiveServer2ClientFactory.createTransport(Unknown Source)
            at com.cloudera.impala.hivecommon.api.HiveServer2ClientFactory.createClient(Unknown Source)
            at com.cloudera.impala.hivecommon.core.HiveJDBCConnection.connect(Unknown Source)
            at com.cloudera.impala.jdbc.common.BaseConnectionFactory.doConnect(Unknown Source)
            at com.cloudera.impala.jdbc.common.AbstractDriver.connect(Unknown Source)
 at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:678)
 at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:229)
 at com.test.JDBCConnection.main(JDBCConnection.java:28)

 

Any help is much appreciated.

Cloudera Employee
Posts: 585
Registered: ‎03-23-2015

Re: Hi, I'm not able to establish connection to Impala from Java.

Do you find any error messages from the impala server side? This error is too generic and can't tell the exact reason.
Announcements