Samarth Gupta created FALCON-566:
------------------------------------
Summary: update throwing null pointer exception
Key: FALCON-566
URL: https://issues.apache.org/jira/browse/FALCON-566
Project: Falcon
Issue Type: Bug
Environment: QA
Reporter: Samarth Gupta
when updating an scheduled entity, if the new end time determined by falcon is
after the end time of process , we are getting a null pointer exception and
update failed error
{code}
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: AUTHENTICATION : java.lang.IllegalArgumentException: jobId cannot be
null
at
org.apache.oozie.client.ProxyOozieClient.getBundleJobInfo(ProxyOozieClient.java:392)
at
org.apache.falcon.workflow.engine.OozieWorkflowEngine.getBundleInfo(OozieWorkflowEngine.java:1201)
... 46 more
Caused by: java.lang.IllegalArgumentException: jobId cannot be null
at org.apache.oozie.client.OozieClient.notEmpty(OozieClient.java:1592)
at
org.apache.oozie.client.OozieClient$BundleJobInfo.<init>(OozieClient.java:1025)
at
org.apache.oozie.client.OozieClient.getBundleJobInfo(OozieClient.java:1071)
at
org.apache.oozie.client.ProxyOozieClient.access$1801(ProxyOozieClient.java:49)
at
org.apache.oozie.client.ProxyOozieClient$18.call(ProxyOozieClient.java:388)
at
org.apache.oozie.client.ProxyOozieClient$18.call(ProxyOozieClient.java:385)
at org.apache.oozie.client.OozieClient.doAs(OozieClient.java:191)
at
org.apache.oozie.client.ProxyOozieClient.getBundleJobInfo(ProxyOozieClient.java:385)
... 47 more
2014-08-05 11:12:18,998 ERROR -
[1336828913@qtp-1333256886-2:dataqa:POST//sync/update/process/agregator-coord16-ed8b3121
2e990eef-993b-4c44-9d69-726fd37d1357] ~ Action failed: Bad Request
Error: org.apache.falcon.FalconException: AUTHENTICATION :
java.lang.IllegalArgumentException: jobId cannot be null
at
org.apache.falcon.workflow.engine.OozieWorkflowEngine.getBundleInfo(OozieWorkflowEngine.java:1203)
at
org.apache.falcon.workflow.engine.OozieWorkflowEngine.updateInternal(OozieWorkflowEngine.java:1140)
at
org.apache.falcon.workflow.engine.OozieWorkflowEngine.update(OozieWorkflowEngine.java:998)
at
org.apache.falcon.resource.AbstractEntityManager.update(AbstractEntityManager.java:258)
at
org.apache.falcon.resource.ConfigSyncService.update(ConfigSyncService.java:69)
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:622)
at
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)