<?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 tPostgresqlOutputBulkExec temp file on wrong server in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tPostgresqlOutputBulkExec-temp-file-on-wrong-server/m-p/2373274#M136017</link>
    <description>I have talend and the Postgresql database running on separate servers.&amp;nbsp; 
&lt;BR /&gt;The&amp;nbsp;tPostgresqlOutputBulkExec&amp;nbsp;component of my job is failing with a "file not found" error... 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Exception in component tPostgresqlOutputBulkExec_2_tPBE&lt;BR /&gt;org.postgresql.util.PSQLException: ERROR: could not open file "/tmp/XXXX_YYYY.tmp" for reading: No such file or directory&lt;BR /&gt; at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2270)&lt;BR /&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;From looking at the help and web, I understand that the filename option of the tPostgresqlOutputBulkExec is a temporary file on the database host server, but I am seeing this file on the talend server. I have the host field set to the database servers FQDN ( dbserver.example.com ) . 
&lt;BR /&gt;Why is tPostgresqlOutputBulkExec creating the file on the talend server? &amp;nbsp;Is this a bug? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAwl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132558i5C0FC3A96E84C5A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAwl.png" alt="0683p000009MAwl.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAwq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138950i849DA6D312D4A2D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAwq.png" alt="0683p000009MAwq.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Mon, 04 Jul 2016 10:23:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-04T10:23:11Z</dc:date>
    <item>
      <title>tPostgresqlOutputBulkExec temp file on wrong server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tPostgresqlOutputBulkExec-temp-file-on-wrong-server/m-p/2373274#M136017</link>
      <description>I have talend and the Postgresql database running on separate servers.&amp;nbsp; 
&lt;BR /&gt;The&amp;nbsp;tPostgresqlOutputBulkExec&amp;nbsp;component of my job is failing with a "file not found" error... 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Exception in component tPostgresqlOutputBulkExec_2_tPBE&lt;BR /&gt;org.postgresql.util.PSQLException: ERROR: could not open file "/tmp/XXXX_YYYY.tmp" for reading: No such file or directory&lt;BR /&gt; at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2270)&lt;BR /&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;From looking at the help and web, I understand that the filename option of the tPostgresqlOutputBulkExec is a temporary file on the database host server, but I am seeing this file on the talend server. I have the host field set to the database servers FQDN ( dbserver.example.com ) . 
&lt;BR /&gt;Why is tPostgresqlOutputBulkExec creating the file on the talend server? &amp;nbsp;Is this a bug? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAwl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132558i5C0FC3A96E84C5A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAwl.png" alt="0683p000009MAwl.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAwq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138950i849DA6D312D4A2D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAwq.png" alt="0683p000009MAwq.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 04 Jul 2016 10:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tPostgresqlOutputBulkExec-temp-file-on-wrong-server/m-p/2373274#M136017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-04T10:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: tPostgresqlOutputBulkExec temp file on wrong server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tPostgresqlOutputBulkExec-temp-file-on-wrong-server/m-p/2373275#M136018</link>
      <description>No this is not a bug, it is perhaps a missing information in the documentation. This component runs the bulk loader from the postgresql installation and this program expect a file on the postgresql server. A solution to solve this could be a NFS share mounted on the same mount point on your talend server and the postgresql server. Save your file in this NFS file system and it will work.</description>
      <pubDate>Mon, 04 Jul 2016 22:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tPostgresqlOutputBulkExec-temp-file-on-wrong-server/m-p/2373275#M136018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-04T22:20:14Z</dc:date>
    </item>
  </channel>
</rss>

