Venkatesh Seetharam created FALCON-360:
------------------------------------------

             Summary: 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


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