You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Ajay Yadava (JIRA)" <ji...@apache.org> on 2016/01/29 11:37:39 UTC
[jira] [Assigned] (FALCON-1793) feed element action="archive" is
submittable via command line tool falcon
[ https://issues.apache.org/jira/browse/FALCON-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ajay Yadava reassigned FALCON-1793:
-----------------------------------
Assignee: Ajay Yadava
> feed element action="archive" is submittable via command line tool falcon
> -------------------------------------------------------------------------
>
> Key: FALCON-1793
> URL: https://issues.apache.org/jira/browse/FALCON-1793
> Project: Falcon
> Issue Type: Bug
> Components: feed
> Affects Versions: 0.6.1
> Environment: CentOS Linux release 7.1.1503 (Core)
> Reporter: Margus Roo
> Assignee: Ajay Yadava
>
> 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>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)