Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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

New Contributor

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.

1 REPLY 1

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

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