<?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: List File names that are NOT present in HDFS Directory in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349483#M116455</link>
    <description>&lt;P&gt;I think the condition is right since I want the names of Files that are not present.&lt;/P&gt;&lt;P&gt;Here is what you asked for.&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000G5VONAA3.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140454i4EE5684A37645ED4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000G5VONAA3.jpg" alt="0695b00000G5VONAA3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jun 2021 11:30:20 GMT</pubDate>
    <dc:creator>rohitpatil1993</dc:creator>
    <dc:date>2021-06-18T11:30:20Z</dc:date>
    <item>
      <title>List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349481#M116453</link>
      <description>&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get the names of Files that are &lt;B&gt;&lt;U&gt;NOT&lt;/U&gt;&lt;/B&gt; present in the specified HDFS directory. &lt;/P&gt;&lt;P&gt;(Note: I have multiple files using date mask for this check)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I thought will work but It's not &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000G5UuXAAV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145535i60E7F769DB75EF7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000G5UuXAAV.png" alt="0695b00000G5UuXAAV.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If condition --&amp;gt; !((Boolean)globalMap.get("tHDFSExist_1_EXISTS"))&lt;/P&gt;&lt;P&gt;tJava --&amp;gt; System.out.println(((String)globalMap.get("tHDFSExist_1_FILENAME")));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help with the solution ?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 09:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349481#M116453</guid>
      <dc:creator>rohitpatil1993</dc:creator>
      <dc:date>2021-06-18T09:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349482#M116454</link>
      <description>&lt;P&gt;How do you set the file name parameter of tHDFSExist? use the global variable of tHDFSList? If so, all files do exist in the specified HDFS directory,  and the condition you set is always false. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 09:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349482#M116454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-18T09:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349483#M116455</link>
      <description>&lt;P&gt;I think the condition is right since I want the names of Files that are not present.&lt;/P&gt;&lt;P&gt;Here is what you asked for.&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000G5VONAA3.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140454i4EE5684A37645ED4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000G5VONAA3.jpg" alt="0695b00000G5VONAA3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 11:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349483#M116455</guid>
      <dc:creator>rohitpatil1993</dc:creator>
      <dc:date>2021-06-18T11:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349484#M116456</link>
      <description>&lt;P&gt;You are iterating all files in the same directory as tHDFSList did,  I don't understand why there will exist files are not present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 13:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349484#M116456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-18T13:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349485#M116457</link>
      <description>&lt;P&gt;Maybe I set the wrong logic...&lt;/P&gt;&lt;P&gt;What is the way to list the files not present in the specified directory?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 05:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349485#M116457</guid>
      <dc:creator>rohitpatil1993</dc:creator>
      <dc:date>2021-06-21T05:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349486#M116458</link>
      <description>&lt;P&gt;@Xiaodi Shi​&amp;nbsp; @Manohar B​&amp;nbsp; @Fred Trebuchet​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you guys have any idea on how to achieve the desired result?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 04:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349486#M116458</guid>
      <dc:creator>rohitpatil1993</dc:creator>
      <dc:date>2021-06-22T04:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349487#M116459</link>
      <description>&lt;P&gt;@Rohit Patil​&amp;nbsp;,what the location of the folder to check the List and exist components?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 05:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349487#M116459</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2021-06-22T05:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349488#M116460</link>
      <description>&lt;P&gt;The location is set in tHDFSList.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 06:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349488#M116460</guid>
      <dc:creator>rohitpatil1993</dc:creator>
      <dc:date>2021-06-22T06:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349489#M116461</link>
      <description>&lt;P&gt;tHDFSList is used to iterate all files in the specified folder, the files must exist if you use tHDFSExist to check it. It's a logical error.  &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 07:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349489#M116461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-22T07:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349490#M116462</link>
      <description>&lt;P&gt;Yes. I understood that it was a logical error but what's the way out?&lt;/P&gt;&lt;P&gt;@Shicong Hong​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 07:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349490#M116462</guid>
      <dc:creator>rohitpatil1993</dc:creator>
      <dc:date>2021-06-22T07:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349491#M116463</link>
      <description>&lt;P&gt;Can you let me know how the name of files that you need to check if it exists or not on HDFS server come? Can you explain your requirements with more details?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 07:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349491#M116463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-22T07:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349492#M116464</link>
      <description>&lt;P&gt;@Rohit Patil​, Usually kind of this scenario want to check if one location files are present in other location then you can do the your job way. But here I do not understand why are you checking the file after listing in same directory. it will be always true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349492#M116464</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2021-06-22T08:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349493#M116465</link>
      <description>&lt;P&gt;Here is the requirement :&lt;/P&gt;&lt;P&gt;I have total 11 files which need to be checked if they are present in HDFS directory. If all are present then we go ahead with other steps &amp;amp; If one or more files is not present, then I have to send those missing file names via email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now file names look like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"officeAddress_"+((String)globalMap.get("currentDate"))&lt;/P&gt;&lt;P&gt;"employeeAddress_"+((String)globalMap.get("currentDate"))&lt;/P&gt;&lt;P&gt;"xyz_"+((String)globalMap.get("previousDate"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : currentDate and previousDate are global variable defined in start of job.&lt;/P&gt;&lt;P&gt;@Shicong Hong​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349493#M116465</guid>
      <dc:creator>rohitpatil1993</dc:creator>
      <dc:date>2021-06-22T08:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349494#M116466</link>
      <description>&lt;P&gt;Please ignore the attached solution I added in question body...The logic is wrong :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the requirement :&lt;/P&gt;&lt;P&gt;I have total 11 files which need to be checked if they are present in HDFS directory. If all are present then we go ahead with other steps &amp;amp; If one or more files is not present, then I have to send those missing file names via email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now file names look like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"officeAddress_"+((String)globalMap.get("currentDate"))&lt;/P&gt;&lt;P&gt;"employeeAddress_"+((String)globalMap.get("currentDate"))&lt;/P&gt;&lt;P&gt;"xyz_"+((String)globalMap.get("previousDate"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : currentDate and previousDate are global variable defined in start of job.&lt;/P&gt;&lt;P&gt;@Manohar B​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349494#M116466</guid>
      <dc:creator>rohitpatil1993</dc:creator>
      <dc:date>2021-06-22T08:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349495#M116467</link>
      <description>&lt;P&gt;Assuming the 11 file names are  read from somewhere in the start of job, you need to iterate the rows and pass the current file name to tHDFSExist, for example:&lt;/P&gt;&lt;P&gt;tFileInputDelimited--main--tFlowToITerate--Iterate--&amp;gt;tHDFSXist--runIf---tJava &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 16:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349495#M116467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-22T16:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349496#M116468</link>
      <description>&lt;P&gt;@Shicong Hong​&amp;nbsp;I have developed the half part --&amp;gt; Which checks if all 11 files are present or not..Next part to find the names of missing files is the challenge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you elaborate more &lt;/P&gt;&lt;P&gt;runIf---tJava ? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 05:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349496#M116468</guid>
      <dc:creator>rohitpatil1993</dc:creator>
      <dc:date>2021-06-23T05:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: List File names that are NOT present in HDFS Directory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349497#M116469</link>
      <description>&lt;P&gt;Yes, as you did in the first post, &lt;/P&gt;&lt;P&gt;....runIf---tjava&lt;/P&gt;&lt;P&gt;on tJava: print the file name on the console for debugging. &lt;/P&gt;&lt;P&gt;If you want to output the file name to somewhere, use tFixedFlowInput to generate the file name, eg:&lt;/P&gt;&lt;P&gt;runIf--tFixedFlowInput--main--tFileOutputDelimited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 09:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/List-File-names-that-are-NOT-present-in-HDFS-Directory/m-p/2349497#M116469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-23T09:21:11Z</dc:date>
    </item>
  </channel>
</rss>

