Pallavi Rao created FALCON-2121:
-----------------------------------
Summary: If a feed does not exist on a cluster, process submission
fails with NPE
Key: FALCON-2121
URL: https://issues.apache.org/jira/browse/FALCON-2121
Project: Falcon
Issue Type: Bug
Affects Versions: trunk
Reporter: Pallavi Rao
Assignee: Pallavi Rao
The process definition:
{noformat}
<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>
{noformat}
Feed "in" is present in "local" cluster, but, not in "local2" cluster. The
following error occurs during process submission.
{noformat}
$ bin/falcon entity -submit -type process -file
examples/entity/filesystem/pig-process.xml
ERROR: Bad Request;default/java.lang.NullPointerException
CausedBy: null
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)