falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (FALCON-346) Feed can't be submitted
Date Tue, 11 Mar 2014 11:22:43 GMT
Jean-Baptiste Onofré created FALCON-346:

             Summary: Feed can't be submitted
                 Key: FALCON-346
                 URL: https://issues.apache.org/jira/browse/FALCON-346
             Project: Falcon
          Issue Type: Bug
          Components: feed
            Reporter: Jean-Baptiste Onofré

With the latest build on master, I submitted the following cluster:

<cluster colo="local" description="Local cluster" name="local" xmlns="uri:falcon:cluster:0.1">
        <interface type="readonly" endpoint="hftp://localhost:50010" version="1.1.2"/>

        <interface type="write" endpoint="hdfs://localhost:8020" version="1.1.2"/>

        <interface type="execute" endpoint="localhost:8021" version="1.1.2"/>

        <interface type="workflow" endpoint="http://localhost:11000/oozie/" version="4.0.0"/>

        <interface type="messaging" endpoint="tcp://localhost:61616"  version="5.7.0"/>
        <location name="staging" path="/falcon/staging"/>
        <location name="temp" path="/falcon/tmp"/>
        <location name="working" path="/falcon/working"/>


bin/falcon entity -submit -type cluster -file local.xml

The submit is OK, and I can see the cluster in the Falcon configuration store:

bin/falcon entity -list -type cluster
(cluster) local(null)

Now, I create the following feed:

<feed description="" name="output" xmlns="uri:falcon:feed:0.1">


        <cluster name="local">
            <validity start="2012-07-20T03:00Z" end="2099-07-16T00:00Z"/>
            <retention limit="hours(10)" action="delete"/>

        <location type="data" path="/data/output"/>
    <ACL owner="jbonofre" group="supergroup" permission="0x644"/>

    <schema location="none" provider="none"/>


However, when I try to submit this feed, I got:

bin/falcon entity -submit -type feed -file ~/demo/entity/output.xml 
Error: Cluster entity vertex must exist: local


whereas local cluster exists.

It seems that it's a regression introduced in EntityRelationshipGraphBuilder.

I gonna take a look on that.

This message was sent by Atlassian JIRA

View raw message