<?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: Feed  : Unable to resolve pattern for feedPath in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141904#M104497</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/168/bleonhardi.html" nodeid="168"&gt;@Benjamin Leonhardi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Here is my feed xml &lt;/P&gt;&lt;PRE&gt;&amp;lt;feed xmlns='uri:falcon:feed:0.1' name='testFeed2'&amp;gt;
  &amp;lt;frequency&amp;gt;minutes(5)&amp;lt;/frequency&amp;gt;
  &amp;lt;timezone&amp;gt;GMT+01:00&amp;lt;/timezone&amp;gt; 
  &amp;lt;clusters&amp;gt;
    &amp;lt;cluster name='primaryCluster' type='source'&amp;gt; 
      &amp;lt;validity start='2016-02-15T08:41Z' end='2016-02-16T09:41Z'/&amp;gt;
      &amp;lt;retention limit='minutes(5)' action='delete'/&amp;gt;
      &amp;lt;locations&amp;gt;
        &amp;lt;location type='data'&amp;gt; 
        &amp;lt;/location&amp;gt;
        &amp;lt;location type='stats'&amp;gt;
        &amp;lt;/location&amp;gt;
        &amp;lt;location type='meta'&amp;gt; 
        &amp;lt;/location&amp;gt;
      &amp;lt;/locations&amp;gt;
    &amp;lt;/cluster&amp;gt; 
  &amp;lt;/clusters&amp;gt;
  &amp;lt;locations&amp;gt;
    &amp;lt;location type='data' path='/user/ambari-qa/falcon/'&amp;gt;
    &amp;lt;/location&amp;gt;
    &amp;lt;location type='stats' path='/'&amp;gt;
    &amp;lt;/location&amp;gt; 
    &amp;lt;location type='meta' path='/'&amp;gt;
    &amp;lt;/location&amp;gt; 
  &amp;lt;/locations&amp;gt;
  &amp;lt;ACL owner='ambari-qa' group='users' permission='0x755'/&amp;gt; 
  &amp;lt;schema location='/none' provider='/none'/&amp;gt; 
  &amp;lt;properties&amp;gt;
    &amp;lt;property name='jobPriority' value='NORMAL'&amp;gt; 
    &amp;lt;/property&amp;gt;
  &amp;lt;/properties&amp;gt; 
&amp;lt;/feed&amp;gt;&lt;/PRE&gt;&lt;P&gt;An I am sure the data path exist :&lt;/P&gt;&lt;PRE&gt;-rw-r--r--   3 hdfs      hdfs          0 2016-02-15 09:46 /user/ambari-qa/falcon/test                          
-rwxrwxrwx   3 ambari-qa hdfs          0 2016-02-15 09:33 /user/ambari-qa/falcon/testFeed   
&lt;/PRE&gt;&lt;P&gt;I don't understand why I need a time component ? &lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2016 18:33:51 GMT</pubDate>
    <dc:creator>arthur_grevin</dc:creator>
    <dc:date>2016-02-15T18:33:51Z</dc:date>
    <item>
      <title>Feed  : Unable to resolve pattern for feedPath</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141902#M104495</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I get this error when I run a Feed. My feed is running but when i check into the cluster I find this in the log :&lt;/P&gt;&lt;PRE&gt;org.apache.oozie.action.hadoop.JavaMainException: org.apache.falcon.FalconException: Couldn't evict feed from fileSystem
	at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:59)
	at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
	at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:35)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:236)
	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
Caused by: org.apache.falcon.FalconException: Couldn't evict feed from fileSystem
	at org.apache.falcon.entity.FileSystemStorage.evict(FileSystemStorage.java:306)
	at org.apache.falcon.retention.FeedEvictor.run(FeedEvictor.java:76)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
	at org.apache.falcon.retention.FeedEvictor.main(FeedEvictor.java:52)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:56)
	... 15 more
Caused by: java.io.IOException: Unable to resolve pattern for feedPath: /user/ambari-qa/falcon
	at org.apache.falcon.entity.FeedHelper.getFeedBasePath(FeedHelper.java:435)
	at org.apache.falcon.entity.FileSystemStorage.fileSystemEvictor(FileSystemStorage.java:331)
	at org.apache.falcon.entity.FileSystemStorage.evict(FileSystemStorage.java:300)
	... 23 more
&lt;/PRE&gt;&lt;P&gt;I don't really know what does this mean and How do i fix this ?&lt;/P&gt;&lt;P&gt;Am I right when I expect to see the file of the dataPath I provide (/usr/ambari-qa/falcon) in my cluster ? &lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 18:15:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141902#M104495</guid>
      <dc:creator>arthur_grevin</dc:creator>
      <dc:date>2016-02-15T18:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Feed  : Unable to resolve pattern for feedPath</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141903#M104496</link>
      <description>&lt;P&gt;Can you add your feed xml? There should be a location something like this: &lt;/P&gt;&lt;P&gt;    &amp;lt;locations&amp;gt;
        &amp;lt;location type="data" path="/mydata/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/&amp;gt;
    &amp;lt;/locations&amp;gt;&lt;/P&gt;&lt;P&gt;Normally feeds are parametrized to correspond to the frequency of the feed. &lt;/P&gt;&lt;P&gt;So my question is, does the folder exist in HDFS? Do you have any retention policy? Eviction sounds like that and would not work in a folder without a time component. Easiest way would be to upload your feed xml.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 18:24:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141903#M104496</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-15T18:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Feed  : Unable to resolve pattern for feedPath</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141904#M104497</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/168/bleonhardi.html" nodeid="168"&gt;@Benjamin Leonhardi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Here is my feed xml &lt;/P&gt;&lt;PRE&gt;&amp;lt;feed xmlns='uri:falcon:feed:0.1' name='testFeed2'&amp;gt;
  &amp;lt;frequency&amp;gt;minutes(5)&amp;lt;/frequency&amp;gt;
  &amp;lt;timezone&amp;gt;GMT+01:00&amp;lt;/timezone&amp;gt; 
  &amp;lt;clusters&amp;gt;
    &amp;lt;cluster name='primaryCluster' type='source'&amp;gt; 
      &amp;lt;validity start='2016-02-15T08:41Z' end='2016-02-16T09:41Z'/&amp;gt;
      &amp;lt;retention limit='minutes(5)' action='delete'/&amp;gt;
      &amp;lt;locations&amp;gt;
        &amp;lt;location type='data'&amp;gt; 
        &amp;lt;/location&amp;gt;
        &amp;lt;location type='stats'&amp;gt;
        &amp;lt;/location&amp;gt;
        &amp;lt;location type='meta'&amp;gt; 
        &amp;lt;/location&amp;gt;
      &amp;lt;/locations&amp;gt;
    &amp;lt;/cluster&amp;gt; 
  &amp;lt;/clusters&amp;gt;
  &amp;lt;locations&amp;gt;
    &amp;lt;location type='data' path='/user/ambari-qa/falcon/'&amp;gt;
    &amp;lt;/location&amp;gt;
    &amp;lt;location type='stats' path='/'&amp;gt;
    &amp;lt;/location&amp;gt; 
    &amp;lt;location type='meta' path='/'&amp;gt;
    &amp;lt;/location&amp;gt; 
  &amp;lt;/locations&amp;gt;
  &amp;lt;ACL owner='ambari-qa' group='users' permission='0x755'/&amp;gt; 
  &amp;lt;schema location='/none' provider='/none'/&amp;gt; 
  &amp;lt;properties&amp;gt;
    &amp;lt;property name='jobPriority' value='NORMAL'&amp;gt; 
    &amp;lt;/property&amp;gt;
  &amp;lt;/properties&amp;gt; 
&amp;lt;/feed&amp;gt;&lt;/PRE&gt;&lt;P&gt;An I am sure the data path exist :&lt;/P&gt;&lt;PRE&gt;-rw-r--r--   3 hdfs      hdfs          0 2016-02-15 09:46 /user/ambari-qa/falcon/test                          
-rwxrwxrwx   3 ambari-qa hdfs          0 2016-02-15 09:33 /user/ambari-qa/falcon/testFeed   
&lt;/PRE&gt;&lt;P&gt;I don't understand why I need a time component ? &lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 18:33:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141904#M104497</guid>
      <dc:creator>arthur_grevin</dc:creator>
      <dc:date>2016-02-15T18:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Feed  : Unable to resolve pattern for feedPath</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141905#M104498</link>
      <description>&lt;P&gt;You have a retention period for your feed. Which means Falcon comes up and tries to delete all folders that belong to feed instances that are older than 5 minutes.&lt;/P&gt;&lt;P&gt;So he expects something like:&lt;/P&gt;&lt;P&gt;path='/inputfolder/${YEAR}-${MONTH}-${DAY}-${HOUR}-${MINUTE}'&lt;/P&gt;&lt;P&gt;So folders in HDFS that look like&lt;/P&gt;&lt;P&gt;/inputfolder/2016-01-01-09-15&lt;/P&gt;&lt;P&gt;etc. pp. And then he can delete all folders that are older than that.&lt;/P&gt;&lt;P&gt;It is all very nicely explained in the oozie documentation ( Falcon is build on oozie ) &lt;/P&gt;&lt;P&gt;&lt;A href="http://oozie.apache.org/docs/4.2.0/CoordinatorFunctionalSpec.html#a5._Dataset" target="_blank"&gt;http://oozie.apache.org/docs/4.2.0/CoordinatorFunctionalSpec.html#a5._Dataset&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 18:40:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141905#M104498</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-15T18:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Feed  : Unable to resolve pattern for feedPath</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141906#M104499</link>
      <description>&lt;P&gt;@Benjamin Leonhardi&lt;/P&gt;&lt;P&gt;I still have the same error even if when I change the data path :&lt;/P&gt;&lt;PRE&gt;org.apache.falcon.FalconException: Couldn't evict feed from fileSystem&lt;/PRE&gt;&lt;P&gt;And the feed is : &lt;/P&gt;&lt;PRE&gt;&amp;lt;feed xmlns='uri:falcon:feed:0.1' name='Depot'&amp;gt;
  &amp;lt;tags&amp;gt;projet=103,data=raw&amp;lt;/tags&amp;gt;
  &amp;lt;frequency&amp;gt;hours(1)&amp;lt;/frequency&amp;gt;
  &amp;lt;timezone&amp;gt;UTC&amp;lt;/timezone&amp;gt;
  &amp;lt;clusters&amp;gt;
    &amp;lt;cluster name='primaryCluster' type='source'&amp;gt;
      &amp;lt;validity start='2016-02-18T10:11Z' end='2016-02-19T10:11Z'/&amp;gt;
      &amp;lt;retention limit='hours(4)' action='delete'/&amp;gt;
      &amp;lt;locations&amp;gt;
        &amp;lt;location type='data'&amp;gt;
        &amp;lt;/location&amp;gt;
        &amp;lt;location type='stats'&amp;gt;
        &amp;lt;/location&amp;gt;
        &amp;lt;location type='meta'&amp;gt;
        &amp;lt;/location&amp;gt;
      &amp;lt;/locations&amp;gt;
    &amp;lt;/cluster&amp;gt;
  &amp;lt;/clusters&amp;gt;
  &amp;lt;locations&amp;gt;
    &amp;lt;location type='data' path='/user/hdfs/falcon/DepotProject103/${YEAR}-${MONTH}-${DAY}-${HOUR}'&amp;gt;
    &amp;lt;/location&amp;gt;
    &amp;lt;location type='stats' path='/'&amp;gt;
    &amp;lt;/location&amp;gt;
    &amp;lt;location type='meta' path='/'&amp;gt;
    &amp;lt;/location&amp;gt;
  &amp;lt;/locations&amp;gt;
  &amp;lt;ACL owner='ambari-qa' group='users' permission='0x755'/&amp;gt;
  &amp;lt;schema location='/none' provider='/none'/&amp;gt;
  &amp;lt;properties&amp;gt;
    &amp;lt;property name='jobPriority' value='NORMAL'&amp;gt;
    &amp;lt;/property&amp;gt;
  &amp;lt;/properties&amp;gt;
&amp;lt;/feed&amp;gt;
&lt;/PRE&gt;&lt;P&gt;I think I did it right this time ? Is there something I am missing again ? &lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 17:26:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141906#M104499</guid>
      <dc:creator>arthur_grevin</dc:creator>
      <dc:date>2016-02-19T17:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Feed  : Unable to resolve pattern for feedPath</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141907#M104500</link>
      <description>&lt;P&gt;Whats the solution to this problem ??&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 21:42:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141907#M104500</guid>
      <dc:creator>mrakki3110</dc:creator>
      <dc:date>2016-06-08T21:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Feed  : Unable to resolve pattern for feedPath</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141908#M104501</link>
      <description>&lt;P&gt;Can you please change the "stats" and "meta" location in Feed to /tmp/${YEAR}-${MONTH}-${DAY}-${HOUR}  and try again?  If updating stats and meta locations will ensure eviction succeeds, then this is an improvement we will have to make in Falcon. &lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 21:49:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141908#M104501</guid>
      <dc:creator>bvellanki</dc:creator>
      <dc:date>2016-06-08T21:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Feed  : Unable to resolve pattern for feedPath</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141909#M104502</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/315/bvellanki.html" nodeid="315"&gt;@Balu&lt;/A&gt; : I changed the "stats" &amp;amp; "meta" location in Feed as you mentioned....that error got resolved &amp;amp; eviction got succeeded..thanks for the answer&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 14:34:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Feed-Unable-to-resolve-pattern-for-feedPath/m-p/141909#M104502</guid>
      <dc:creator>mrakki3110</dc:creator>
      <dc:date>2016-06-09T14:34:10Z</dc:date>
    </item>
  </channel>
</rss>

