Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
When running a Talend 6.3.1 standard Job that uses a tMapRStreamsInput component against MapR 5.2 Hadoop cluster, it fails with the following error:
[FATAL]: testtc.lect_stdt_mapr_stream_0_1.lect_stdt_mapr_stream - tMapRStreamsInput_1 Error occurred while instantiating com.mapr.streams.impl.listener.MarlinListener. java.lang.UnsatisfiedLinkError: com.mapr.fs.jni.MarlinJniListener.OpenListener(Ljava/lang/String;Ljava/lang/String;IZZJJIIILjava/lang/String;Ljava/lang/String;JZ)J. Exception in component tMapRStreamsInput_1 .. java.lang.RuntimeException: Error occurred while instantiating com.mapr.streams.impl.listener.MarlinListener. java.lang.UnsatisfiedLinkError: com.mapr.fs.jni.MarlinJniListener.OpenListener(Ljava/lang/String;Ljava/lang/String;IZZJJIIILjava/lang/String;Ljava/lang/String;JZ)J. at org.apache.kafka.clients.mapr.GenericHFactory.getImplementorInstance(GenericHFactory.java:41) at org.apache.kafka.clients.consumer.KafkaConsumer.initializeConsumer(KafkaConsumer.java:591) at org.apache.kafka.clients.consumer.KafkaConsumer.subscribe(KafkaConsumer.java:902) at org.apache.kafka.clients.consumer.KafkaConsumer.subscribe(KafkaConsumer.java:949) at testtc.lect_stdt_mapr_stream_0_1.lect_stdt_mapr_stream.tMapRStreamsInput_1Process(lect_stdt_mapr_stream.java:1312)
The Job has a dependency on a user routine, delete_maprdb, that depends on a Java library, fat-hbase-client-0.0.1-SNAPSHOT-jar-with-dependencies.jar. This Java library is used when running the Job and provides classes, overriding classes imported by Talend, that are not compatible with the C native library of MapR 2.5.
Routine delete_maprdb libraries > fat-hbase-client-0.0.1-SNAPSHOT-jar-with-dependencies.jar
Configure the Job so that it does not use the routine, delete_maprdb, that needs the fat-hbase-client-0.0.1-SNAPSHOT-jar-with-dependencies.jar user library.
To implement this solution, perform the following steps:
From Studio, right-click your Job.
Select Setup routine dependencies.
Select the routine you want to delete, in this case, delete_maprdb.
Click the red X. Click OK.
Deleting User routines