falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Kjerrumgaard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-598) org.apache.falcon.entity.ProcessHelper throws NullPointerException if the process has no inputs OR no outputs defined
Date Wed, 13 Aug 2014 21:14:12 GMT

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

David Kjerrumgaard commented on FALCON-598:
-------------------------------------------

To reproduce the error, just submit and then schedule a process with only inputs defined like
so:

<process name="ErrorGeneratingProcess" xmlns="uri:falcon:process:0.1">

    <clusters>
        <cluster name="ClusterName">
            <validity start="2014-08-01T00:00Z" end="2016-03-31T00:00Z"/>
        </cluster>
    </clusters>

    <parallel>1</parallel>
    <order>FIFO</order>
    <frequency>days(1)</frequency>

    <inputs>
        <input name="input" feed="FeedName" start="today(0,0)" end="today(0,0)"/>
    </inputs>

    <workflow name="Workflow" version="2.0.0" engine="oozie" path="" />

</process>

> org.apache.falcon.entity.ProcessHelper throws NullPointerException if the process has
no inputs OR no outputs defined
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FALCON-598
>                 URL: https://issues.apache.org/jira/browse/FALCON-598
>             Project: Falcon
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 0.5
>            Reporter: David Kjerrumgaard
>
> NullPointerException is thrown when scheduling a process with only inputs defined or
only outputs defines.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message