falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-360) Lineage recording fails with NPE for processes with >1 inputs
Date Tue, 18 Mar 2014 22:50:44 GMT

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

Mime
View raw message