<?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>question Re: Is it possible to use upstream attributes in GetHDFS? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Is-it-possible-to-use-upstream-attributes-in-GetHDFS/m-p/206977#M168938</link>
    <description>&lt;P&gt;Hi Abdelkrim,&lt;/P&gt;&lt;P&gt;Can you explain how EvaluateXPath will pass directory attribute to ListHDFS? What is best practices when demand is to provide directory for ListHDFS dynamically?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Algis&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2018 19:19:51 GMT</pubDate>
    <dc:creator>algirdas</dc:creator>
    <dc:date>2018-02-26T19:19:51Z</dc:date>
    <item>
      <title>Is it possible to use upstream attributes in GetHDFS?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-it-possible-to-use-upstream-attributes-in-GetHDFS/m-p/206974#M168935</link>
      <description>&lt;P&gt;I'm working on a Nifi process that will retrieve files from HDFS.  I'm using the &lt;STRONG&gt;GetHDFS &lt;/STRONG&gt;processor to pull all the files from a specific directory.  Ideally, I'd like to use an attribute from an XML properties file as the HDFS directory in the event we need to change directories.  This would allow us to do that without having to change Nifi.  &lt;/P&gt;&lt;P&gt;The problem I am having is how to get the &lt;STRONG&gt;GetHDFS &lt;/STRONG&gt;processor to recognize the attributes created by my upstream &lt;STRONG&gt;EvaluateXPath &lt;/STRONG&gt;processor since &lt;STRONG&gt;GetHDFS &lt;/STRONG&gt;does not accept upstream connections.&lt;/P&gt;&lt;P&gt;I'm still relatively new to Nifi so I'm completely stumped as to how, if at all, I can get this to work.  Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 19:36:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-it-possible-to-use-upstream-attributes-in-GetHDFS/m-p/206974#M168935</guid>
      <dc:creator>michael_bailey</dc:creator>
      <dc:date>2017-10-04T19:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use upstream attributes in GetHDFS?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-it-possible-to-use-upstream-attributes-in-GetHDFS/m-p/206975#M168936</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44327/michaelbailey.html" nodeid="44327"&gt;@Mike Bailey&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you tried ListHDFS/FetchHDFS to implement your logic:&lt;/P&gt;&lt;P&gt;EvaluateXPath parses the XML file and get you the name of the directory. You use this to list all files in that directory and then fetchHDFS to get the data. The state you were refering to is to avoir get the same file several time and get only new file from a directory. I expect this to be the desired behavior. &lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:03:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-it-possible-to-use-upstream-attributes-in-GetHDFS/m-p/206975#M168936</guid>
      <dc:creator>ahadjidj</dc:creator>
      <dc:date>2017-10-05T13:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use upstream attributes in GetHDFS?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-it-possible-to-use-upstream-attributes-in-GetHDFS/m-p/206976#M168937</link>
      <description>&lt;P&gt;In order to resolve my issue I had to write a bash script to retrieve a listing of the files names from my HDFS folder.  That gave me the list of ALL files currently in the directory.  I am then able to use the FetHDFS processor to retrieve each of the files by file name.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 19:14:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-it-possible-to-use-upstream-attributes-in-GetHDFS/m-p/206976#M168937</guid>
      <dc:creator>michael_bailey</dc:creator>
      <dc:date>2017-10-05T19:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use upstream attributes in GetHDFS?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-it-possible-to-use-upstream-attributes-in-GetHDFS/m-p/206977#M168938</link>
      <description>&lt;P&gt;Hi Abdelkrim,&lt;/P&gt;&lt;P&gt;Can you explain how EvaluateXPath will pass directory attribute to ListHDFS? What is best practices when demand is to provide directory for ListHDFS dynamically?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Algis&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 19:19:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-it-possible-to-use-upstream-attributes-in-GetHDFS/m-p/206977#M168938</guid>
      <dc:creator>algirdas</dc:creator>
      <dc:date>2018-02-26T19:19:51Z</dc:date>
    </item>
  </channel>
</rss>

