<?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>topic Re: Problem with avro jar used when using both tSnowflakeConnection and tHiveConnection in a workflow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284988#M58610</link>
    <description>&lt;P&gt;of course - when Talend fix the issue it would be good, but for period when it happens ... you need some bypass&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have similar issue (different components) and for this period we used csv (on hdfs) as intermediate storage between subjobs. Ugly ... but it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;you can pass values between subjobs&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jan 2019 22:11:12 GMT</pubDate>
    <dc:creator>vapukov</dc:creator>
    <dc:date>2019-01-15T22:11:12Z</dc:date>
    <item>
      <title>Problem with avro jar used when using both tSnowflakeConnection and tHiveConnection in a workflow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284985#M58607</link>
      <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Using&amp;nbsp;Talend Real-time Big Data Platform Version: 6.4.1 Build id: 20170720_1238-patch&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;PS: I have already created a support ticket with Talend, trying to raise the question to this community as there might be someone who faced a similar issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am getting, &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;Exception in thread "main" java.lang.NoSuchMethodError: org.apache.avro.Schema$Field.addProp(Ljava/lang/String;Ljava/lang/Object&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;V"&lt;/STRONG&gt; error when I am trying to extract data from a Snowflake table.&amp;nbsp; I have attached the snapshot of the workflow that I built.&amp;nbsp; Please note that everything worked fine until I added tHiveConnection component to it. When I deactivated hive related components from my workflow, it again started working fine.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Reading at a post here,&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://stackoverflow.com/questions/31687550/nosuchmethoderror-writing-avro-object-to-hdfs-using-builder" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/31687550/nosuchmethoderror-writing-avro-object-to-hdfs-using-builder&lt;/A&gt;&lt;/STRONG&gt; looked similar to the issue I am facing.&amp;nbsp; Basically I am assuming there is some issue with the avro jar file when the workflow has both Hive and Snowflake related components.&amp;nbsp; I do need both of them in my job.&amp;nbsp; So is there a way I can fix this issue?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend_Issue.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1vz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139659i074A2CDD18EB5475/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1vz.png" alt="0683p000009M1vz.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;Exception in thread "main" java.lang.NoSuchMethodError: org.apache.avro.Schema$Field.addProp(Ljava/lang/String;Ljava/lang/Object&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;V&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.components.snowflake.runtime.SnowflakeAvroRegistry.sqlType2Avro(SnowflakeAvroRegistry.java:46)&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.components.common.avro.JDBCAvroRegistry.inferSchemaResultSet(JDBCAvroRegistry.java:114)&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.components.common.avro.JDBCAvroRegistry$1.apply(JDBCAvroRegistry.java:52)&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.components.common.avro.JDBCAvroRegistry$1.apply(JDBCAvroRegistry.java:44)&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.daikon.avro.AvroRegistry.inferSchema(AvroRegistry.java:154)&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.components.snowflake.runtime.SnowflakeSourceOrSink.getSchema(SnowflakeSourceOrSink.java:280)&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.components.snowflake.runtime.SnowflakeSourceOrSink.getEndpointSchema(SnowflakeSourceOrSink.java:265)&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.components.snowflake.runtime.SnowflakeReader.getSchema(SnowflakeReader.java:82)&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.components.snowflake.runtime.SnowflakeReader.&amp;lt;init&amp;gt;(SnowflakeReader.java:64)&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.components.snowflake.runtime.SnowflakeSource.createReader(SnowflakeSource.java:53)&lt;/P&gt; 
&lt;P class="p1"&gt;at org.talend.components.snowflake.runtime.SnowflakeSource.createReader(SnowflakeSource.java:25)&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284985#M58607</guid>
      <dc:creator>humapathy</dc:creator>
      <dc:date>2024-11-16T06:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with avro jar used when using both tSnowflakeConnection and tHiveConnection in a workflow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284986#M58608</link>
      <description>&lt;P&gt;while Talend fix an issue (it could take a time)&lt;SPAN&gt;, you could split job into 2 separate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;because your components&amp;nbsp; independent - they did not use same data flow, you can:&lt;/P&gt;&lt;P&gt;- run it one by one (cron or TAC execution plan) - this is will work for 100%&lt;/P&gt;&lt;P&gt;- call as subjobs from parent job - this is need to test if error affected for single Job or parent/shields&amp;nbsp; jobs as well&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 02:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284986#M58608</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-01-15T02:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with avro jar used when using both tSnowflakeConnection and tHiveConnection in a workflow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284987#M58609</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;&amp;nbsp;thanks for the suggestion.&amp;nbsp; Your solution might not work for my use case.&amp;nbsp; The workflow I showed you is not how it will be, when it is complete.&amp;nbsp; In the sense, i would need to access the hive tables to get the latest updated date and then go back to snowflake again to get the incremental data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 21:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284987#M58609</guid>
      <dc:creator>humapathy</dc:creator>
      <dc:date>2019-01-15T21:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with avro jar used when using both tSnowflakeConnection and tHiveConnection in a workflow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284988#M58610</link>
      <description>&lt;P&gt;of course - when Talend fix the issue it would be good, but for period when it happens ... you need some bypass&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have similar issue (different components) and for this period we used csv (on hdfs) as intermediate storage between subjobs. Ugly ... but it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;you can pass values between subjobs&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 22:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284988#M58610</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-01-15T22:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with avro jar used when using both tSnowflakeConnection and tHiveConnection in a workflow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284989#M58611</link>
      <description>&lt;P&gt;Did this issue resolved?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 08:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284989#M58611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-23T08:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with avro jar used when using both tSnowflakeConnection and tHiveConnection in a workflow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284990#M58612</link>
      <description>&lt;P&gt;I think when a thmap is introduced with snowflake output, its not working and giving same exception.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11111.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaXw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147129i9EDA9DB0B9B0DBD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaXw.png" alt="0683p000009MaXw.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;[statistics] connecting to socket on port 3358&lt;BR /&gt;[statistics] connected&lt;BR /&gt;[statistics] disconnected&lt;BR /&gt;Exception in thread "main" java.lang.NoSuchMethodError: org.apache.avro.Schema.getLogicalType()Lorg/apache/avro/LogicalType;&lt;BR /&gt;at org.talend.daikon.avro.LogicalTypeUtils.isLogicalDate(LogicalTypeUtils.java:74)&lt;BR /&gt;at org.talend.codegen.enforcer.IncomingSchemaEnforcer.put(IncomingSchemaEnforcer.java:446)&lt;BR /&gt;at org.talend.codegen.enforcer.IncomingSchemaEnforcer.put(IncomingSchemaEnforcer.java:379)&lt;BR /&gt;at reusabledataexchangetemplate.snowflake_to_sap_0_1.SNOWFLAKE_TO_SAP.tFixedFlowInput_1Process(SNOWFLAKE_TO_SAP.java:1924)&lt;BR /&gt;at reusabledataexchangetemplate.snowflake_to_sap_0_1.SNOWFLAKE_TO_SAP.tDBConnection_1Process(SNOWFLAKE_TO_SAP.java:689)&lt;BR /&gt;at reusabledataexchangetemplate.snowflake_to_sap_0_1.SNOWFLAKE_TO_SAP.runJobInTOS(SNOWFLAKE_TO_SAP.java:2740)&lt;BR /&gt;at reusabledataexchangetemplate.snowflake_to_sap_0_1.SNOWFLAKE_TO_SAP.main(SNOWFLAKE_TO_SAP.java:2432)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm not sure if it all comes in same problem bucket.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 14:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284990#M58612</guid>
      <dc:creator>vivek_varanasi</dc:creator>
      <dc:date>2020-06-29T14:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with avro jar used when using both tSnowflakeConnection and tHiveConnection in a workflow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284991#M58613</link>
      <description>&lt;P&gt;I think when a thmap is introduced with snowflake output, its not working and giving same exception.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11111.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaXw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147129i9EDA9DB0B9B0DBD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaXw.png" alt="0683p000009MaXw.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;[statistics] connecting to socket on port 3358&lt;BR /&gt;[statistics] connected&lt;BR /&gt;[statistics] disconnected&lt;BR /&gt;Exception in thread "main" java.lang.NoSuchMethodError: org.apache.avro.Schema.getLogicalType()Lorg/apache/avro/LogicalType;&lt;BR /&gt;at org.talend.daikon.avro.LogicalTypeUtils.isLogicalDate(LogicalTypeUtils.java:74)&lt;BR /&gt;at org.talend.codegen.enforcer.IncomingSchemaEnforcer.put(IncomingSchemaEnforcer.java:446)&lt;BR /&gt;at org.talend.codegen.enforcer.IncomingSchemaEnforcer.put(IncomingSchemaEnforcer.java:379)&lt;BR /&gt;at reusabledataexchangetemplate.snowflake_to_sap_0_1.SNOWFLAKE_TO_SAP.tFixedFlowInput_1Process(SNOWFLAKE_TO_SAP.java:1924)&lt;BR /&gt;at reusabledataexchangetemplate.snowflake_to_sap_0_1.SNOWFLAKE_TO_SAP.tDBConnection_1Process(SNOWFLAKE_TO_SAP.java:689)&lt;BR /&gt;at reusabledataexchangetemplate.snowflake_to_sap_0_1.SNOWFLAKE_TO_SAP.runJobInTOS(SNOWFLAKE_TO_SAP.java:2740)&lt;BR /&gt;at reusabledataexchangetemplate.snowflake_to_sap_0_1.SNOWFLAKE_TO_SAP.main(SNOWFLAKE_TO_SAP.java:2432)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm not sure if it all comes in same problem bucket.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 14:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-avro-jar-used-when-using-both-tSnowflakeConnection/m-p/2284991#M58613</guid>
      <dc:creator>vivek_varanasi</dc:creator>
      <dc:date>2020-06-29T14:03:39Z</dc:date>
    </item>
  </channel>
</rss>

