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

If a feed does not exist on a cluster, process submission fails with NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • trunk, 0.11
    • prism
    • None
    • Ensure a useful message is displayed when entity validation fails.

    Description

      The process definition:

      <process name="pig-process" xmlns="uri:falcon:process:0.1">
          <clusters>
              <cluster name="local">
                  <validity start="2013-11-15T00:05Z" end="2013-11-15T01:05Z"/>
              </cluster>
              <cluster name="local2">
                  <validity start="2013-11-15T00:05Z" end="2013-11-15T01:05Z"/>
              </cluster>
          </clusters>
      ...
      <inputs>
              <input name="inpaths" feed="in" start="now(0,-5)" end="now(0,-1)"/>
          </inputs>
      

      Feed "in" is present in "local" cluster, but, not in "local2" cluster. The following error occurs during process submission.

      $ bin/falcon entity -submit -type process -file examples/entity/filesystem/pig-process.xml
      ERROR: Bad Request;default/java.lang.NullPointerException
      CausedBy: null
      

      Attachments

        Issue Links

          Activity

            People

              pallavi.rao Pallavi Rao
              pallavi.rao Pallavi Rao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: