<?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 create falcon entity dependencies? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-falcon-entity-dependencies/m-p/117521#M26272</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt; The dependencies are derived based on the entity description, once you create those entities using Falcon (UI or CLI). &lt;/P&gt;&lt;P&gt;So for e.g., you define your cluster in the cluster entity xml, you specify the name.. &lt;/P&gt;&lt;PRE&gt;&amp;lt;cluster colo="location1" description="primaryDemoCluster" name="primaryCluster" xmlns="uri:falcon:cluster:0.1"&amp;gt; &lt;/PRE&gt;&lt;P&gt;When you define this cluster in a feed entity, the dependency gets created when you create the feed entity.. &lt;/P&gt;&lt;PRE&gt;&amp;lt;feed description="Demo Input Data" name="demoEventData" xmlns="uri:falcon:feed:0.1"&amp;gt;
    &amp;lt;tags&amp;gt;externalSystem=eventData,classification=clinicalResearch&amp;lt;/tags&amp;gt;
    &amp;lt;groups&amp;gt;events&amp;lt;/groups&amp;gt;
    &amp;lt;frequency&amp;gt;minutes(3)&amp;lt;/frequency&amp;gt;
    &amp;lt;timezone&amp;gt;GMT+00:00&amp;lt;/timezone&amp;gt;
    &amp;lt;late-arrival cut-off="hours(4)"/&amp;gt;
    &amp;lt;clusters&amp;gt;
        &amp;lt;cluster name="primaryCluster" type="source"&amp;gt;
            &amp;lt;validity start="2015-08-10T08:00Z" end="2016-02-08T22:00Z"/&amp;gt;
            &amp;lt;retention limit="days(5)" action="delete"/&amp;gt;
        &amp;lt;/cluster&amp;gt;
    &amp;lt;/clusters&amp;gt;
&lt;/PRE&gt;&lt;P&gt;The same concept applies to processes to feed dependencies.. &lt;/P&gt;&lt;P&gt;Take a look at this example for working set of falcon entities - &lt;A href="https://github.com/sainib/hadoop-data-pipeline/tree/master/falcon" target="_blank"&gt;https://github.com/sainib/hadoop-data-pipeline/tree/master/falcon&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2016 02:59:51 GMT</pubDate>
    <dc:creator>bsaini</dc:creator>
    <dc:date>2016-04-27T02:59:51Z</dc:date>
    <item>
      <title>How to create falcon entity dependencies?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-falcon-entity-dependencies/m-p/117520#M26271</link>
      <description>&lt;P&gt;According to falcon documentation:&lt;/P&gt;&lt;H4&gt;Dependency&lt;/H4&gt;&lt;P&gt;Returns the dependencies of the requested entity. Dependency list include both forward and backward dependencies (depends on &amp;amp; is dependent on). For example, a feed would show process that are dependent on the feed and the clusters that it depends on.&lt;/P&gt;&lt;P&gt;How are dependencies created through Falcon UI?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 02:25:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-falcon-entity-dependencies/m-p/117520#M26271</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-04-27T02:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create falcon entity dependencies?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-falcon-entity-dependencies/m-p/117521#M26272</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt; The dependencies are derived based on the entity description, once you create those entities using Falcon (UI or CLI). &lt;/P&gt;&lt;P&gt;So for e.g., you define your cluster in the cluster entity xml, you specify the name.. &lt;/P&gt;&lt;PRE&gt;&amp;lt;cluster colo="location1" description="primaryDemoCluster" name="primaryCluster" xmlns="uri:falcon:cluster:0.1"&amp;gt; &lt;/PRE&gt;&lt;P&gt;When you define this cluster in a feed entity, the dependency gets created when you create the feed entity.. &lt;/P&gt;&lt;PRE&gt;&amp;lt;feed description="Demo Input Data" name="demoEventData" xmlns="uri:falcon:feed:0.1"&amp;gt;
    &amp;lt;tags&amp;gt;externalSystem=eventData,classification=clinicalResearch&amp;lt;/tags&amp;gt;
    &amp;lt;groups&amp;gt;events&amp;lt;/groups&amp;gt;
    &amp;lt;frequency&amp;gt;minutes(3)&amp;lt;/frequency&amp;gt;
    &amp;lt;timezone&amp;gt;GMT+00:00&amp;lt;/timezone&amp;gt;
    &amp;lt;late-arrival cut-off="hours(4)"/&amp;gt;
    &amp;lt;clusters&amp;gt;
        &amp;lt;cluster name="primaryCluster" type="source"&amp;gt;
            &amp;lt;validity start="2015-08-10T08:00Z" end="2016-02-08T22:00Z"/&amp;gt;
            &amp;lt;retention limit="days(5)" action="delete"/&amp;gt;
        &amp;lt;/cluster&amp;gt;
    &amp;lt;/clusters&amp;gt;
&lt;/PRE&gt;&lt;P&gt;The same concept applies to processes to feed dependencies.. &lt;/P&gt;&lt;P&gt;Take a look at this example for working set of falcon entities - &lt;A href="https://github.com/sainib/hadoop-data-pipeline/tree/master/falcon" target="_blank"&gt;https://github.com/sainib/hadoop-data-pipeline/tree/master/falcon&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 02:59:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-falcon-entity-dependencies/m-p/117521#M26272</guid>
      <dc:creator>bsaini</dc:creator>
      <dc:date>2016-04-27T02:59:51Z</dc:date>
    </item>
  </channel>
</rss>

