Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-346

Feed can't be submitted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 0.5
    • 0.5
    • feed
    • None

    Description

      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">
          <interfaces>
              <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"/>
          </interfaces>
          <locations>
              <location name="staging" path="/falcon/staging"/>
              <location name="temp" path="/falcon/tmp"/>
              <location name="working" path="/falcon/working"/>
          </locations>
          <properties>
          </properties>
      </cluster>
      

      with:

      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">
          <groups>output</groups>
      
          <frequency>minutes(10)</frequency>
      
          <clusters>
              <cluster name="local">
                  <validity start="2012-07-20T03:00Z" end="2099-07-16T00:00Z"/>
                  <retention limit="hours(10)" action="delete"/>
              </cluster>
          </clusters>
      
          <locations>
              <location type="data" path="/data/output"/>
          </locations>
        
          <ACL owner="jbonofre" group="supergroup" permission="0x644"/>
      
          <schema location="none" provider="none"/>
      
      </feed>
      

      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.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: