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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

java.lang.NoSuchMethodError: org.apache.avro.Schema.getLogicalType()Lorg/apache/avro/LogicalType - tsalesforcexxxx

Hi All,

 

When i try to push data from salesforce to HDFS, i am getting error as follows,

 

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.avro.Schema.getLogicalType()Lorg/apache/avro/LogicalType;
	at org.talend.codegen.enforcer.OutgoingSchemaEnforcer.transformValue(OutgoingSchemaEnforcer.java:209)
	at org.talend.codegen.enforcer.OutgoingSchemaEnforcer.get(OutgoingSchemaEnforcer.java:192)
	at beginnersguide_db.hdfs_connection_0_1.HDFS_Connection.tSalesforceInput_2Process(HDFS_Connection.java:1181)
	at beginnersguide_db.hdfs_connection_0_1.HDFS_Connection.runJobInTOS(HDFS_Connection.java:1994)
	at beginnersguide_db.hdfs_connection_0_1.HDFS_Connection.main(HDFS_Connection.java:1517)

@klokala , @agershenson 

I was referring the below article and updated avro 1.8.1 jar, but still now i am getting the same error. And i am using talend bigdata openstudio 7.2.1 version. PFA screenshot for your reference.

 

https://community.talend.com/t5/Migration-Configuration-and/A-job-with-tsalesforcexxx-components-fai...

 

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi @KathikVenky ,

 

The KB is written for Talend 651 version. There is usally a change in salesforce API version for a new release and the observations may differ from version to version. 

 

Can you please add tLibraryLoad component with avro-1.8.1.jar in the job and run the job ? Let me know if this works.

 

Thanks,

Karthick

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hi @KathikVenky ,

 

The KB is written for Talend 651 version. There is usally a change in salesforce API version for a new release and the observations may differ from version to version. 

 

Can you please add tLibraryLoad component with avro-1.8.1.jar in the job and run the job ? Let me know if this works.

 

Thanks,

Karthick

Anonymous
Not applicable
Author

@klokala 

 

Thanks for your update. Yea, i works after using tLibraryLoad Component.