You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Venkatesh Seetharam (JIRA)" <ji...@apache.org> on 2014/03/18 23:50:44 UTC

[jira] [Commented] (FALCON-360) Lineage recording fails with NPE for processes with >1 inputs

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

Venkatesh Seetharam commented on FALCON-360:
--------------------------------------------

I'll fix this properly with FALCON-327 but this is a point fix.

> Lineage recording fails with NPE for processes with >1 inputs
> -------------------------------------------------------------
>
>                 Key: FALCON-360
>                 URL: https://issues.apache.org/jira/browse/FALCON-360
>             Project: Falcon
>          Issue Type: Sub-task
>    Affects Versions: 0.5
>            Reporter: Venkatesh Seetharam
>         Attachments: FALCON-360.patch
>
>
> There is a split brain problem in org.apache.falcon.converter.OozieProcessMapper. The inputs use '#' as a separator but outputs use ',' as a separator for feed names and instance paths.
> org.apache.falcon.converter.OozieProcessMapper#initializeInputPaths
> {code}
>         props.put("falconInputFeeds", join(inputFeeds.iterator(), '#'));
>         props.put("falconInPaths", join(inputPaths.iterator(), '#'));
> {code}
> org.apache.falcon.converter.OozieProcessMapper#initializeOutputPaths
> {code}
>         // Output feed name and path for parent workflow
>         props.put(ARG.feedNames.getPropName(), join(outputFeeds.iterator(), ','));
>         props.put(ARG.feedInstancePaths.getPropName(), join(outputPaths.iterator(), ','));
> {code}



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