Hive and MapR -- TApplicationException: Invalid method name 'Execute'

One Star

Hive and MapR -- TApplicationException: Invalid method name 'Execute'

I am using Enterprise Talend 5.4 with MapR 3.1.0
The tHiveConnection component results in the following stack trace:

Exception in component tHiveConnection_1
java.sql.SQLException: org.apache.thrift.TApplicationException: Invalid method name: 'execute'
        at org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(
        at org.apache.hadoop.hive.jdbc.HiveStatement.execute(
        at org.apache.hadoop.hive.jdbc.HiveConnection.configureConnection(
        at org.apache.hadoop.hive.jdbc.HiveConnection.<init>(
        at org.apache.hadoop.hive.jdbc.HiveDriver.connect(
        at java.sql.DriverManager.getConnection(
        at java.sql.DriverManager.getConnection(
I tried to load some libraries in my /opt/mapr/hive/hive-0.12/lib directory using the tLibraryLoad because Talend was placecing the hive-0.11 jars in the class path, such as hive-exec, hive-jdbc, hive-metastore, and hive-service, but received the same error.
Has anyone come across this?

Re: Hive and MapR -- TApplicationException: Invalid method name 'Execute'

What's your connection mode? Embedded or standalone? Could you please upload your tHiveConnection component setting screenshot into forum?
Best regards
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach


Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.



Introduction to Talend Open Studio for Data Integration.