Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.avro.Schema.getLogicalType

Hi,

 

I have a simple job of extracting data from hive to mysql, and after insert into mysql, logs will be inserted to a table. logs can be saved either in postgresql/mysql/sqllite so I have used JDBC component. but i have the error below.

 

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.avro.Schema.getLogicalType()Lorg/apache/avro/LogicalType;
at org.talend.daikon.avro.LogicalTypeUtils.isLogicalDate(LogicalTypeUtils.java:74)
at org.talend.codegen.enforcer.IncomingSchemaEnforcer.put(IncomingSchemaEnforcer.java:444)
at org.talend.codegen.enforcer.IncomingSchemaEnforcer.put(IncomingSchemaEnforcer.java:379)
at edo_devops.sample_test_jdbc_0_1.sample_test_jdbc.tFixedFlowInput_1Process(sample_test_jdbc.java:3078)
at edo_devops.sample_test_jdbc_0_1.sample_test_jdbc.tHiveInput_2Process(sample_test_jdbc.java:2026)
at edo_devops.sample_test_jdbc_0_1.sample_test_jdbc.runJobInTOS(sample_test_jdbc.java:3591)
at edo_devops.sample_test_jdbc_0_1.sample_test_jdbc.main(sample_test_jdbc.java:3410)

 

In another thread I have seen it says that jar files were corrupted, replacing the jar file did not fixed the issue. Please help.

 

Labels (6)
2 Replies
Anonymous
Not applicable
Author

Hello,

Could you please clarify in which Talend version/edition you are?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi,

 

Was this error ever resolved?

 

I am getting the same error message when using the tSqoopImport in both CommandLine mode and Java API mode.

 

We are using Talend 7.1 and this issue is with EMR cluster.

 

Any pointers please?