<?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: How to set falcon retention policy for unconventional folder name ? &amp;quot; startday=2014-10-01&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-falcon-retention-policy-for-unconventional-folder/m-p/96126#M9534</link>
    <description>&lt;P&gt;We actually do this as well. Here's an example for retention/replication on a folder that looks like this. This resolves, much like above, to a folder called /hdfs/path/to/data/in/table/file_dt=2015-12-09. Hope this helps!&lt;/P&gt;&lt;PRE&gt;&amp;lt;location type="data" path="/hdfs/path/to/data/in/table/file_dt=${YEAR}-${MONTH}-${DAY}"/&amp;gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 09 Dec 2015 23:15:11 GMT</pubDate>
    <dc:creator>landon_t_robins</dc:creator>
    <dc:date>2015-12-09T23:15:11Z</dc:date>
    <item>
      <title>How to set falcon retention policy for unconventional folder name ? " startday=2014-10-01"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-falcon-retention-policy-for-unconventional-folder/m-p/96123#M9531</link>
      <description>&lt;P&gt;I'm trying to set Falcon retention policy for a set of folders with unique naming convention. Almost all the demos and references documentation use simple folder names like "${YEAR}-${MONTH}-${DAY}" and I cant seem to figure out how to make this work. The folders are named "startday=2014-10-01", the later part is the year,month,date.&lt;/P&gt;&lt;P&gt;
Basically there's a fixed string in front of the date, and I'd like to be able to mention in the location tag. I tried the following but it didnt work.&lt;/P&gt;&lt;P&gt;&amp;lt;location type="data"
                path="/user/falcon/retentiondata/#startday=${YEAR}-${MONTH}-${DAY}"/&amp;gt;
&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 07:05:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-falcon-retention-policy-for-unconventional-folder/m-p/96123#M9531</guid>
      <dc:creator>asunke</dc:creator>
      <dc:date>2015-10-28T07:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to set falcon retention policy for unconventional folder name ? " startday=2014-10-01"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-falcon-retention-policy-for-unconventional-folder/m-p/96124#M9532</link>
      <description>&lt;P&gt;First, get rid of the hashtag in your path "#startday," assuming that's not a typo. The folder name examples you're referring to are actually showing sample token replacement patterns.&lt;/P&gt;&lt;P&gt;For example, this:&lt;/P&gt;&lt;P&gt;&amp;lt;location type="data" path="/user/falcon/retentiondata/startday=${YEAR}-${MONTH}-${DAY}"/&amp;gt;&lt;/P&gt;&lt;P&gt;will resolve to something like this:&lt;/P&gt;&lt;P&gt;/user/falcon/retentiondata/startday=2015-10-27&lt;/P&gt;&lt;P&gt;for a daily feed that begins on 10/27 and runs. The next day's "instance" (using Falcon terms) would resolve to:&lt;/P&gt;&lt;P&gt;/user/falcon/retentiondata/startday=2015-10-28&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 07:15:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-falcon-retention-policy-for-unconventional-folder/m-p/96124#M9532</guid>
      <dc:creator>mmiklavcic</dc:creator>
      <dc:date>2015-10-28T07:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to set falcon retention policy for unconventional folder name ? " startday=2014-10-01"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-falcon-retention-policy-for-unconventional-folder/m-p/96125#M9533</link>
      <description>&lt;P&gt;Thank you &lt;A href="http://community.hortonworks.com/users/193/mmiklavcic.html"&gt;@mmiklavcic@hortonworks.com&lt;/A&gt;, I'll test it out !&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 11:31:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-falcon-retention-policy-for-unconventional-folder/m-p/96125#M9533</guid>
      <dc:creator>asunke</dc:creator>
      <dc:date>2015-10-28T11:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to set falcon retention policy for unconventional folder name ? " startday=2014-10-01"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-falcon-retention-policy-for-unconventional-folder/m-p/96126#M9534</link>
      <description>&lt;P&gt;We actually do this as well. Here's an example for retention/replication on a folder that looks like this. This resolves, much like above, to a folder called /hdfs/path/to/data/in/table/file_dt=2015-12-09. Hope this helps!&lt;/P&gt;&lt;PRE&gt;&amp;lt;location type="data" path="/hdfs/path/to/data/in/table/file_dt=${YEAR}-${MONTH}-${DAY}"/&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Dec 2015 23:15:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-falcon-retention-policy-for-unconventional-folder/m-p/96126#M9534</guid>
      <dc:creator>landon_t_robins</dc:creator>
      <dc:date>2015-12-09T23:15:11Z</dc:date>
    </item>
  </channel>
</rss>

