Details
Description
As I understand feed action archive is not supported yet.
But submitting feed via command line tool:
> falcon entity -type feed -submit -file [feed.xml]
answer: falcon/default/Submit successful (feed) falcon-input-table
there is no problem
My example feed.xml is:
<feed description="input table" name="falcon-input-table" xmlns="uri:falcon:feed:0.1">
<frequency>days(1)</frequency>
<timezone>UTC</timezone>
<late-arrival cut-off="hours(3)"/>
<clusters>
<cluster name="Cluster2" type="source">
<validity start="2016-01-01T00:00Z" end="2030-01-01T00:00Z"/>
<retention limit="months(99999999)" action="archive" />
</cluster>
</clusters>
<table uri="catalog:default:falcon1#feed_date=${YEAR}${MONTH}${DAY}" />
<ACL owner="margusja" group="users" permission="0770"/>
<schema location="hcat" provider="hcat"/>
</feed>
Cluster.xml (domain is removed):
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cluster xmlns="uri:falcon:cluster:0.1" name="Cluster2" description="" colo="telekomarendus">
<interfaces>
<interface type="readonly" endpoint="hftp://hadoopnn2:50070" version="2.3.0"/>
<interface type="write" endpoint="hdfs://mycluster" version="2.3.0"/>
<interface type="execute" endpoint="hadoopnn1:8050" version="2.3.0"/>
<interface type="workflow" endpoint="http://hadoopnn1:11000/oozie/" version="4.2.0"/>
<interface type="messaging" endpoint="tcp://hadoopnn2.estpak.ee:61616?daemon=true" version="5.1.6"/>
<interface type="registry" endpoint="thrift://hadoopnn1:9083" version=""/>
</interfaces>
<locations>
<location name="staging" path="/apps/falcon/Cluster2/staging"/>
<location name="temp" path="/tmp"/>
<location name="working" path="/apps/falcon/Cluster2/working"/>
</locations>
<ACL owner="margusja" group="users" permission="0755"/>
</cluster>