<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article 'UnsatisfiedLinkError' when executing a Job that uses a tMapRStreamsInput component in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/UnsatisfiedLinkError-when-executing-a-Job-that-uses-a/ta-p/2150521</link>
    <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;H1&gt;Problem Description&lt;/H1&gt; 
&lt;P&gt;When running a Talend 6.3.1 standard Job that uses a&amp;nbsp;&lt;STRONG&gt;tMapRStreamsInput&lt;/STRONG&gt; component against MapR 5.2 Hadoop cluster, it fails with the following error:&lt;/P&gt; 
&lt;PRE&gt;[FATAL]: testtc.lect_stdt_mapr_stream_0_1.lect_stdt_mapr_stream - tMapRStreamsInput_1 Error occurred while instantiating com.mapr.streams.impl.listener.MarlinListener.
&lt;EM&gt;&lt;STRONG&gt;java.lang.UnsatisfiedLinkError&lt;/STRONG&gt;: com.mapr.fs.jni.MarlinJniListener.OpenListener&lt;/EM&gt;(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)
&lt;/PRE&gt; 
&lt;H1&gt;&amp;nbsp;&lt;/H1&gt; 
&lt;H1&gt;Root Cause&lt;/H1&gt; 
&lt;P&gt;The Job has a dependency on a user routine, &lt;STRONG&gt;delete_maprdb&lt;/STRONG&gt;, that depends on a Java library, &lt;STRONG&gt;fat-hbase-client-0.0.1-SNAPSHOT-jar-with-dependencies.jar&lt;/STRONG&gt;. This Java library is used when running the Job and provides classes, overriding classes imported by Talend, that are not compatible with the &lt;STRONG&gt;C native library&lt;/STRONG&gt; of MapR 2.5.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000008u9VRAAY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/124531i41F09BA260ED3BE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000008u9VRAAY.png" alt="0693p000008u9VRAAY.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption"&gt;Routine delete_maprdb libraries &amp;gt; fat-hbase-client-0.0.1-SNAPSHOT-jar-with-dependencies.jar&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;H1&gt;Solution&lt;/H1&gt; 
&lt;P&gt;Configure the Job so that it does not use the routine, &lt;STRONG&gt;delete_maprdb&lt;/STRONG&gt;, that needs the &lt;STRONG&gt;fat-hbase-client-0.0.1-SNAPSHOT-jar-with-dependencies.jar &lt;/STRONG&gt;user library.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;To implement this solution, perform the following steps:&lt;/P&gt; 
&lt;OL&gt;&lt;LI&gt; &lt;P&gt;From Studio, right-click your Job.&lt;/P&gt; &lt;/LI&gt;&lt;LI&gt; &lt;P&gt;Select &lt;STRONG&gt;Setup routine dependencies&lt;/STRONG&gt;.&lt;/P&gt; &lt;/LI&gt;&lt;LI&gt; &lt;P&gt;Select the routine you want to delete, in this case, &lt;STRONG&gt;delete_maprdb&lt;/STRONG&gt;.&lt;/P&gt; &lt;/LI&gt;&lt;LI&gt; &lt;P&gt;Click the red &lt;STRONG&gt;X&lt;/STRONG&gt;. Click &lt;STRONG&gt;OK&lt;/STRONG&gt;.&lt;/P&gt; &lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 771px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000008u9jIAAQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/124024i4B96D0AFAA6FF190/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000008u9jIAAQ.png" alt="0693p000008u9jIAAQ.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption"&gt;Deleting User routines&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Feb 2024 18:22:49 GMT</pubDate>
    <dc:creator>TalendSolutionExpert</dc:creator>
    <dc:date>2024-02-09T18:22:49Z</dc:date>
    <item>
      <title>'UnsatisfiedLinkError' when executing a Job that uses a tMapRStreamsInput component</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/UnsatisfiedLinkError-when-executing-a-Job-that-uses-a/ta-p/2150521</link>
      <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;H1&gt;Problem Description&lt;/H1&gt; 
&lt;P&gt;When running a Talend 6.3.1 standard Job that uses a&amp;nbsp;&lt;STRONG&gt;tMapRStreamsInput&lt;/STRONG&gt; component against MapR 5.2 Hadoop cluster, it fails with the following error:&lt;/P&gt; 
&lt;PRE&gt;[FATAL]: testtc.lect_stdt_mapr_stream_0_1.lect_stdt_mapr_stream - tMapRStreamsInput_1 Error occurred while instantiating com.mapr.streams.impl.listener.MarlinListener.
&lt;EM&gt;&lt;STRONG&gt;java.lang.UnsatisfiedLinkError&lt;/STRONG&gt;: com.mapr.fs.jni.MarlinJniListener.OpenListener&lt;/EM&gt;(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)
&lt;/PRE&gt; 
&lt;H1&gt;&amp;nbsp;&lt;/H1&gt; 
&lt;H1&gt;Root Cause&lt;/H1&gt; 
&lt;P&gt;The Job has a dependency on a user routine, &lt;STRONG&gt;delete_maprdb&lt;/STRONG&gt;, that depends on a Java library, &lt;STRONG&gt;fat-hbase-client-0.0.1-SNAPSHOT-jar-with-dependencies.jar&lt;/STRONG&gt;. This Java library is used when running the Job and provides classes, overriding classes imported by Talend, that are not compatible with the &lt;STRONG&gt;C native library&lt;/STRONG&gt; of MapR 2.5.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000008u9VRAAY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/124531i41F09BA260ED3BE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000008u9VRAAY.png" alt="0693p000008u9VRAAY.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption"&gt;Routine delete_maprdb libraries &amp;gt; fat-hbase-client-0.0.1-SNAPSHOT-jar-with-dependencies.jar&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;H1&gt;Solution&lt;/H1&gt; 
&lt;P&gt;Configure the Job so that it does not use the routine, &lt;STRONG&gt;delete_maprdb&lt;/STRONG&gt;, that needs the &lt;STRONG&gt;fat-hbase-client-0.0.1-SNAPSHOT-jar-with-dependencies.jar &lt;/STRONG&gt;user library.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;To implement this solution, perform the following steps:&lt;/P&gt; 
&lt;OL&gt;&lt;LI&gt; &lt;P&gt;From Studio, right-click your Job.&lt;/P&gt; &lt;/LI&gt;&lt;LI&gt; &lt;P&gt;Select &lt;STRONG&gt;Setup routine dependencies&lt;/STRONG&gt;.&lt;/P&gt; &lt;/LI&gt;&lt;LI&gt; &lt;P&gt;Select the routine you want to delete, in this case, &lt;STRONG&gt;delete_maprdb&lt;/STRONG&gt;.&lt;/P&gt; &lt;/LI&gt;&lt;LI&gt; &lt;P&gt;Click the red &lt;STRONG&gt;X&lt;/STRONG&gt;. Click &lt;STRONG&gt;OK&lt;/STRONG&gt;.&lt;/P&gt; &lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 771px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000008u9jIAAQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/124024i4B96D0AFAA6FF190/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000008u9jIAAQ.png" alt="0693p000008u9jIAAQ.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption"&gt;Deleting User routines&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Feb 2024 18:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/UnsatisfiedLinkError-when-executing-a-Job-that-uses-a/ta-p/2150521</guid>
      <dc:creator>TalendSolutionExpert</dc:creator>
      <dc:date>2024-02-09T18:22:49Z</dc:date>
    </item>
  </channel>
</rss>

