You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Pallavi Rao (JIRA)" <ji...@apache.org> on 2016/08/31 10:39:20 UTC
[jira] [Updated] (FALCON-2121) If a feed does not exist on a
cluster, process submission fails with NPE
[ https://issues.apache.org/jira/browse/FALCON-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pallavi Rao updated FALCON-2121:
--------------------------------
Release Note: Ensure a useful message is displayed when entity validation fails.
> 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
> Fix For: trunk
>
>
> 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)