<?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: [resolved] Errors when loading large data sets to/from Microsoft Azure in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226148#M18166</link>
    <description>I actually found a solution today. &amp;nbsp;It seems that Talend's MS components are using an open source jdbc driver that might be out of date. I am not sure if the problem I had is with all MS sql but at least with Azure data sources. To make this work for me I downloaded a jdbc driver directly from Microsoft and set up a Generic JDBC source in Talend. &amp;nbsp;The JDBC connection string should be like this. 
&lt;BR /&gt;jdbc:sqlserver://&amp;lt;serveraddress&amp;gt;;databaseName=&amp;lt;dbname&amp;gt;;user=&amp;lt;username&amp;gt;;password=&amp;lt;password&amp;gt; 
&lt;BR /&gt;I was able to leave the batch size the same and complete my task in a few minutes instead of the 5 hours it took with built in components.</description>
    <pubDate>Tue, 07 Jun 2016 10:55:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-07T10:55:18Z</dc:date>
    <item>
      <title>[resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226139#M18157</link>
      <description>Hello, 
&lt;BR /&gt;When trying to use a Microsoft Azure connection in my Talend package (Data Integration v5.6) I get errors like the following: 
&lt;BR /&gt;"I/O Error: Connection reset 
&lt;BR /&gt;Exception in component tMSSqlOutput_1 
&lt;BR /&gt;java.sql.SQLException: Invalid state, the Connection object is closed. 
&lt;BR /&gt;at net.sourceforge.jtds.jdbc.ConnectionJDBC2.checkOpen(ConnectionJDBC2.java:1699) 
&lt;BR /&gt;at net.sourceforge.jtds.jdbc.ConnectionJDBC2.commit(ConnectionJDBC2.java:2085) 
&lt;BR /&gt;at dbservicestest.azure_query_test_0_1.Azure_Query_Test.tMSSqlInput_2Process(Azure_Query_Test.java:1397) 
&lt;BR /&gt;at dbservicestest.azure_query_test_0_1.Azure_Query_Test.tMSSqlConnection_1Process(Azure_Query_Test.java:529) 
&lt;BR /&gt;at dbservicestest.azure_query_test_0_1.Azure_Query_Test.runJobInTOS(Azure_Query_Test.java:1755) 
&lt;BR /&gt;at dbservicestest.azure_query_test_0_1.Azure_Query_Test.main(Azure_Query_Test.java:1540)" 
&lt;BR /&gt;For example, in a job where I send rows from a local SQL database (via tMSSqlInput) to a tMSSqlOutput component connected to Azure, it is successful at loading a small number of rows (1-97), but when loading more rows (more than 98 or so) it fails with an I/O Error.&amp;nbsp; 
&lt;BR /&gt;I will need to send tens of thousands of rows, so batching things in groups of 50 is not practical. 
&lt;BR /&gt;--Porter</description>
      <pubDate>Wed, 02 Dec 2015 19:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226139#M18157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-02T19:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226140#M18158</link>
      <description>Hi,&lt;BR /&gt;Could you please show us the screenshots of job setting and sql query?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 03 Dec 2015 07:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226140#M18158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T07:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226141#M18159</link>
      <description>Here are some screenshots:&lt;BR /&gt;    &lt;BR /&gt;The error is in the "tMSSqlOutput_1" component.</description>
      <pubDate>Thu, 03 Dec 2015 13:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226141#M18159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T13:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226142#M18160</link>
      <description>Looks like I'm having trouble uploading screenshots... let me try again.
&lt;BR /&gt;
&lt;BR /&gt;EDIT: Still unable to post screenshots. I'm using "Drop files here to attach them" below, which seems to work until I hit submit, at which point it scrubs the images from the post before submitting it.</description>
      <pubDate>Thu, 03 Dec 2015 14:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226142#M18160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T14:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226143#M18161</link>
      <description>I figured out how to get this work.&lt;BR /&gt;1. Add some keys to the registry, as described in this article:&amp;nbsp;&lt;A href="https://msdn.microsoft.com/en-us/library/hh290696(v=sql.110).aspx" target="_blank" rel="nofollow noopener noreferrer"&gt;https://msdn.microsoft.com/en-us/library/hh290696(v=sql.110).aspx&lt;/A&gt;&lt;BR /&gt;2. In the Advanced settings of the component, change the batch size to 10&lt;BR /&gt;This runs very slow, and I'm not sure it's the cleanest solution, but it's the only way I was able to get it to work.</description>
      <pubDate>Thu, 03 Dec 2015 21:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226143#M18161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T21:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226144#M18162</link>
      <description>Hi,&lt;BR /&gt;Thanks for your solution. Have you tried to change the batch size to 100 to see if it is better?&lt;BR /&gt;What's the current rate for your work flow?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 04 Dec 2015 06:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226144#M18162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T06:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226145#M18163</link>
      <description>I had initially tried lowering the batch size to 100 and even to 50, but it was still dropping the connection at times (I'm guessing this is because of a slow or unstable connection to Azure). Only by reducing it to 10 was I able to get it to work--though I may be able to experiment more to find the "sweet spot".
&lt;BR /&gt;The data flow rate seems to average between 200-400 rows/second. I don't necessarily blame Talend for this--it could be that our connection to Azure is just slow--but it seems that sending things in bigger batches might help reduce overhead, if I could get it to not drop the connection. C'est la vie!</description>
      <pubDate>Fri, 04 Dec 2015 19:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226145#M18163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-04T19:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226146#M18164</link>
      <description>Hi, 
&lt;BR /&gt;Did you ever get a better solution to this? &amp;nbsp;I am having the same or very similar issue trying to write to Azure. &amp;nbsp;I get a "I/O Error: Connection reset by peer: socket write error" whenever the batch size is about 10. &amp;nbsp;I started at 10,000 and kept trying different numbers until it would work. &amp;nbsp;The problem is this makes the job take 5 hours to complete for 1 of 12 tables. &amp;nbsp;That isn't going to work for me. 
&lt;BR /&gt;Maybe I should update my MS SQL java driver but I am not really sure how.</description>
      <pubDate>Fri, 03 Jun 2016 09:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226146#M18164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T09:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226147#M18165</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi,&lt;BR /&gt;Did you ever get a better solution to this? &amp;nbsp;I am having the same or very similar issue trying to write to Azure. &amp;nbsp;I get a "I/O Error: Connection reset by peer: socket write error" whenever the batch size is about 10. &amp;nbsp;I started at 10,000 and kept trying different numbers until it would work. &amp;nbsp;The problem is this makes the job take 5 hours to complete for 1 of 12 tables. &amp;nbsp;That isn't going to work for me.&lt;BR /&gt;Maybe I should update my MS SQL java driver but I am not really sure how.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;It looks like our current approach is to uncheck "Die on error", so that the process will silently continue on its way if there is an error writing to the database. We have our batch size set to 10. 
&lt;BR /&gt;Probably a better approach would be to make a custom component (or just ditch Talend and write a custom app) that handles the IO exception and resumes sending data using some sort of exponential backoff. But we didn't have the time to do that, and there were other priorities, so we left it like this for now.</description>
      <pubDate>Fri, 03 Jun 2016 14:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226147#M18165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T14:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226148#M18166</link>
      <description>I actually found a solution today. &amp;nbsp;It seems that Talend's MS components are using an open source jdbc driver that might be out of date. I am not sure if the problem I had is with all MS sql but at least with Azure data sources. To make this work for me I downloaded a jdbc driver directly from Microsoft and set up a Generic JDBC source in Talend. &amp;nbsp;The JDBC connection string should be like this. 
&lt;BR /&gt;jdbc:sqlserver://&amp;lt;serveraddress&amp;gt;;databaseName=&amp;lt;dbname&amp;gt;;user=&amp;lt;username&amp;gt;;password=&amp;lt;password&amp;gt; 
&lt;BR /&gt;I was able to leave the batch size the same and complete my task in a few minutes instead of the 5 hours it took with built in components.</description>
      <pubDate>Tue, 07 Jun 2016 10:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226148#M18166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-07T10:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226149#M18167</link>
      <description>Hi robbz23,&lt;BR /&gt;I am facing the same issue for which your comment is to get it solved.&lt;BR /&gt;Can you please guide me about the steps to be followed in order to resolve it?</description>
      <pubDate>Thu, 08 Sep 2016 10:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226149#M18167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T10:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226150#M18168</link>
      <description>Dear all,
&lt;BR /&gt;I've noticed the same problem. With the default Talend driver I got 300 rows / second. With the most recent jdbc driver downloade from MS, I get 900 records / second.</description>
      <pubDate>Thu, 10 Nov 2016 13:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226150#M18168</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-11-10T13:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Errors when loading large data sets to/from Microsoft Azure</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226151#M18169</link>
      <description>Hello,&amp;nbsp;
&lt;BR /&gt;Could you please indicate what's the build version you are using? So far, the lastest released version is 6.3.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 11 Nov 2016 07:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Errors-when-loading-large-data-sets-to-from-Microsoft/m-p/2226151#M18169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-11T07:58:18Z</dc:date>
    </item>
  </channel>
</rss>

