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

Reply via email to