falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1793) feed element action="archive" is submittable via command line tool falcon
Date Fri, 29 Jan 2016 11:20:39 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15123356#comment-15123356
] 

Ajay Yadava commented on FALCON-1793:
-------------------------------------

Assigning to [~deepak.barr] on his request. Thanks for volunteering to take this up [~deepak.barr].


> 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)

Mime
View raw message