<?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: tHDFSGet all files in directory in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHDFSGet-all-files-in-directory/m-p/2307164#M78619</link>
    <description>&lt;P&gt;Thank you! I happened to stumble across an example at the bottom part of the documentation too. Didn't know that the autocomplete also works on the component fields.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2017 13:37:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-26T13:37:28Z</dc:date>
    <item>
      <title>tHDFSGet all files in directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHDFSGet-all-files-in-directory/m-p/2307162#M78617</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to get all files in HDFS directory and save it as a single file / multiple files on a local machine?&lt;/P&gt;
&lt;P&gt;I've want to extract files from a directory with regular expressions but it doesn't seem to work. But it says on the documentation here (&lt;A href="https://help.talend.com/reader/g8zdjVE7fWNUh3u4ztO6Dw/PUKLf_wAqRMmwe4w~Lw1wA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/g8zdjVE7fWNUh3u4ztO6Dw/PUKLf_wAqRMmwe4w~Lw1wA&lt;/A&gt;) that regular expressions is supported in filemasks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm basically trying to grab files that match: ".+part-.*" inside a directory (iterating through subdirectories).&lt;/P&gt;
&lt;P&gt;These files are the output from the tFileOutputDelimited from a Spark Streaming job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 11:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHDFSGet-all-files-in-directory/m-p/2307162#M78617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-26T11:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: tHDFSGet all files in directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHDFSGet-all-files-in-directory/m-p/2307163#M78618</link>
      <description>&lt;P&gt;Have you tried&amp;nbsp;&lt;A href="https://help.talend.com/reader/ogbi2YVtG8EOdpOwtepy7w/rNOfiGnTdBjV2WCqQ9M4PA" target="_self" rel="nofollow noopener noreferrer"&gt;tHDFSList&lt;/A&gt;? You can specify a filemask (glob or regex) with this and iterate through files / directories / subdirectories of a specific hdfs location.&amp;nbsp; You could then pass the global variable&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;((String)globalMap.get("tHDFSList_1_CURRENT_FILEPATH"))&lt;/PRE&gt;&lt;P&gt;to the "HDFS directory" property of tHDFSGet&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 13:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHDFSGet-all-files-in-directory/m-p/2307163#M78618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-26T13:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: tHDFSGet all files in directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHDFSGet-all-files-in-directory/m-p/2307164#M78619</link>
      <description>&lt;P&gt;Thank you! I happened to stumble across an example at the bottom part of the documentation too. Didn't know that the autocomplete also works on the component fields.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 13:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHDFSGet-all-files-in-directory/m-p/2307164#M78619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-26T13:37:28Z</dc:date>
    </item>
  </channel>
</rss>

