<?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: Multiple empty files are created when loading data into HDFS using spark in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Multiple-empty-files-are-created-when-loading-data-into-HDFS/m-p/2346809#M114161</link>
    <description>&lt;P&gt;One solution option for Issue-1 is to check the 'Merge result to single file' option in tFileOutputDelimited&amp;nbsp; component properties. Set the property 'Merge File Path' to your file path for maindata.csv.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This creates a file with a name of your choice, in the path defined by you, with all the part- files data merged into one file. Optionally you could remove the source directory and/or override target file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jul 2018 10:17:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-18T10:17:48Z</dc:date>
    <item>
      <title>Multiple empty files are created when loading data into HDFS using spark</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-empty-files-are-created-when-loading-data-into-HDFS/m-p/2346808#M114160</link>
      <description>&lt;P&gt;Task:&lt;/P&gt; 
&lt;P&gt;I have group of messages in queue and they are consumed by consumer and get latest record among using spark streaming job and loaded into HDFS&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtNQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141469iA122F8BFA17A067F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtNQ.png" alt="0683p000009LtNQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Issue:&lt;/P&gt; 
&lt;P&gt;1. Wanted to save data into a file as .csv but some number pattern is added to file name which is given in tfileOutput component&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-center" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsU4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147744iA40B9EB8B73F04EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsU4.png" alt="0683p000009LsU4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Example: give below i wanted to save data in maindata.csv but it is creating&amp;nbsp;maindata.csv-1522775132000 folder and saving data in that folder&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 854px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LtQJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137763iC3E9117B71C0958D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LtQJ.png" alt="0683p000009LtQJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;2. Creating 14 empty partitions files and inserting data into 15 partition file&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Expected Output:&lt;/P&gt; 
&lt;P&gt;1. Can i insert data into maindata.csv ??&lt;/P&gt; 
&lt;P&gt;2. Can i determinate partitions according to data ??&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-empty-files-are-created-when-loading-data-into-HDFS/m-p/2346808#M114160</guid>
      <dc:creator>Bluemoon</dc:creator>
      <dc:date>2024-11-16T08:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple empty files are created when loading data into HDFS using spark</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-empty-files-are-created-when-loading-data-into-HDFS/m-p/2346809#M114161</link>
      <description>&lt;P&gt;One solution option for Issue-1 is to check the 'Merge result to single file' option in tFileOutputDelimited&amp;nbsp; component properties. Set the property 'Merge File Path' to your file path for maindata.csv.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This creates a file with a name of your choice, in the path defined by you, with all the part- files data merged into one file. Optionally you could remove the source directory and/or override target file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 10:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-empty-files-are-created-when-loading-data-into-HDFS/m-p/2346809#M114161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-18T10:17:48Z</dc:date>
    </item>
  </channel>
</rss>

