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

Venkatesh Seetharam commented on FALCON-583:
--------------------------------------------

[~shwethags], I'm not sure if this is an issue with the workflow message 
passing refactoring. But its something to do with the workflow builder 
refactoring and I say that because the values for many attributes are "null" 
strings.

{code}
-brokerImplClass
 null
 -brokerUrl
  null
  -brokerTTL
  null
{code}

But, I wonder how these can be null. The code will always default to 
"tcp://localhost:61616?daemon=true"

{code}
org.apache.falcon.oozie.OozieCoordinatorBuilder#createCoordDefaultConfiguration

        String falconBrokerUrl = StartupProperties.get().getProperty(
                WorkflowExecutionArgs.BRKR_URL.getName(), 
"tcp://localhost:61616?daemon=true");
        props.put(WorkflowExecutionArgs.BRKR_URL.getName(), falconBrokerUrl);
        String falconBrokerImplClass = StartupProperties.get().getProperty(
                WorkflowExecutionArgs.BRKR_IMPL_CLASS.getName(), 
ClusterHelper.DEFAULT_BROKER_IMPL_CLASS);
        props.put(WorkflowExecutionArgs.BRKR_IMPL_CLASS.getName(), 
falconBrokerImplClass);
        String jmsMessageTTL = 
StartupProperties.get().getProperty("broker.ttlInMins",
            DEFAULT_BROKER_MSG_TTL.toString());
        props.put(WorkflowExecutionArgs.BRKR_TTL.getName(), jmsMessageTTL);
{code}

> Post processing is broken in current trunk
> ------------------------------------------
>
>                 Key: FALCON-583
>                 URL: https://issues.apache.org/jira/browse/FALCON-583
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Suhas Vasu
>            Priority: Blocker
>
> Currently falcon post-processing is broken.
> Checked it for the following instances:
> 1. A feed with hcat-replication
> 2. A MR process that reads from hadoop fs and writes to hadoop fs
> Both of the actions failed at x@succeeded-post-processing with the error 
> {noformat}
> Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.JavaMain], 
> main() threw exception, java.lang.NullPointerException
> org.apache.oozie.action.hadoop.JavaMainException: 
> java.lang.NullPointerException
>       at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:58)
>       at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:39)
>       at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:36)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at 
> org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:226)
>       at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
>       at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:417)
>       at org.apache.hadoop.mapred.MapTask.run(MapTask.java:332)
>       at org.apache.hadoop.mapred.Child$4.run(Child.java:268)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:415)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1438)
>       at org.apache.hadoop.mapred.Child.main(Child.java:262)
> Caused by: java.lang.NullPointerException
>       at org.apache.commons.cli.GnuParser.flatten(GnuParser.java:68)
>       at org.apache.commons.cli.Parser.parse(Parser.java:161)
>       at org.apache.commons.cli.Parser.parse(Parser.java:119)
>       at 
> org.apache.falcon.workflow.WorkflowExecutionContext.getCommand(WorkflowExecutionContext.java:337)
>       at 
> org.apache.falcon.workflow.WorkflowExecutionContext.create(WorkflowExecutionContext.java:311)
>       at 
> org.apache.falcon.workflow.FalconPostProcessing.run(FalconPostProcessing.java:43)
>       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>       at 
> org.apache.falcon.workflow.FalconPostProcessing.main(FalconPostProcessing.java:37)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:55)
>       ... 15 more
> {noformat}



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

Reply via email to