[ 
https://issues.apache.org/jira/browse/FALCON-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432376#comment-15432376
 ] 

ASF GitHub Bot commented on FALCON-2121:
----------------------------------------

GitHub user pallavi-rao opened a pull request:

    https://github.com/apache/falcon/pull/270

    FALCON-2121 If a feed does not exist on a cluster, process submission 
throws NPE

    After the change:
    `bin/falcon entity -submit -type process -file 
examples/entity/filesystem/pig-process.xml
    ERROR: Bad Request;default/Feed in does not exist on cluster local2`

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pallavi-rao/falcon 2121

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/falcon/pull/270.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #270
    
----
commit 60d1e00c081a90ea27224cfaa77f0e8f500f8965
Author: Pallavi Rao <[email protected]>
Date:   2016-08-23T08:17:52Z

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

commit 0884518a7fbf54e087fdc269db1b654430ec123e
Author: Pallavi Rao <[email protected]>
Date:   2016-08-23T08:30:11Z

    FALCON-2121 Removing static import

----


> 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)

Reply via email to