Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
QA
Description
if only "start" time is provided as param in summary api request it returns a NPE. Below is the stack trace :
2014-03-03 12:51:44,413 ERROR - [1469937134@qtp-1278514289-0:samarth.gupta:GET//instance/summary/process/agregator-coord16-40623c09-e70a-449a-b77c-c07c62790173 073d2830-4342-4b23-b727-e554da33bfe6] ~ Failure reason (FalconWebException:50)
java.lang.NullPointerException
at org.apache.falcon.workflow.engine.OozieWorkflowEngine.doSummaryJobAction(OozieWorkflowEngine.java:571)
at org.apache.falcon.workflow.engine.OozieWorkflowEngine.getSummary(OozieWorkflowEngine.java:472)
at org.apache.falcon.resource.AbstractInstanceManager.getSummary(AbstractInstanceManager.java:110)
at org.apache.falcon.resource.InstanceManager.getSummary(InstanceManager.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
console:
[Bundle] [INFO] process schedule result=<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result><status>SUCCEEDED</status><message>ua1/agregator-coord16-40623c09-e70a-449a-b77c-c07c62790173(process) scheduled successfully</message><requestId>ua1/ea8a1170-2143-48c9-8254-e37dcd42b5f5</requestId></result> [InstanceUtil] [INFO] hitting the url: http://10.14.118.26:16000/api/instance/summary/process/agregator-coord16-40623c09-e70a-449a-b77c-c07c62790173/?start=2014-03-03T12:11Z&colo=* [InstanceUtil] [INFO] The web service response status is 400 [InstanceUtil] [INFO] The web service response is: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><instancesSummaryResult><status>FAILED</status><message>ua1/null