Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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)
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.
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
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