Description
Rerunning timed out instances fails. Get the following response from the api:
<?xml version="1.0" encoding="UTF-8"?><instancesResult> <status>PARTIAL</status> <message>ua1/RERUN </message> <requestId>ua1/979841624@qtp-1192290277-15 - cfa11149-c27b-4df6-8496-255d248fa99a </requestId> <instances> <instance>2010-01-02T01:10Z</instance> <status>ERROR</status> <cluster>ProcessInstanceRerunTest--corp-b4f66d20</cluster> <details>hdfs://192.168.138.240:8020/tmp/falcon-regression/ProcessInstanceRerunTest/timedout/2010/01/02/01/00#hdfs://192.168.138.240:8020/tmp/falcon-regression/ProcessInstanceRerunTest/timedout/2010/01/02/00/40</details> </instances> <instances> <instance>2010-01-02T01:05Z</instance> <status>ERROR</status> <cluster>ProcessInstanceRerunTest--corp-b4f66d20</cluster> <details>hdfs://192.168.138.240:8020/tmp/falcon-regression/ProcessInstanceRerunTest/timedout/2010/01/02/01/00#hdfs://192.168.138.240:8020/tmp/falcon-regression/ProcessInstanceRerunTest/timedout/2010/01/02/00/40</details> </instances> <instances> <instance>2010-01-02T01:00Z</instance> <status>ERROR</status> <cluster>ProcessInstanceRerunTest--corp-b4f66d20</cluster> <details>hdfs://192.168.138.240:8020/tmp/falcon-regression/ProcessInstanceRerunTest/timedout/2010/01/02/01/00#hdfs://192.168.138.240:8020/tmp/falcon-regression/ProcessInstanceRerunTest/timedout/2010/01/02/00/40</details> </instances> </instancesResult>
and the following is seen in falcon logs:
2015-02-25 12:44:30,149 ERROR - [979841624@qtp-1192290277-15 - cfa11149-c27b-4df6-8496-255d248fa99a:karishmagulati:POST//instance/rerun/process/ProcessInstanceRerunTest--agregator-coord16-209e6cb9] ~ Unable to rerun workflows (OozieWorkflowEngine:820)
E1018 : E1018: Coord Job Rerun Error: date or action expected.
at org.apache.oozie.client.OozieClient.handleError(OozieClient.java:542)
at org.apache.oozie.client.OozieClient$CoordRerun.call(OozieClient.java:1470)
at org.apache.oozie.client.OozieClient$CoordRerun.call(OozieClient.java:1450)
at org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:514)
at org.apache.oozie.client.OozieClient.reRunCoord(OozieClient.java:1511)
at org.apache.oozie.client.ProxyOozieClient.access$2201(ProxyOozieClient.java:48)
at org.apache.oozie.client.ProxyOozieClient$22.call(ProxyOozieClient.java:481)
at org.apache.oozie.client.ProxyOozieClient$22.call(ProxyOozieClient.java:478)
at org.apache.oozie.client.OozieClient.doAs(OozieClient.java:198)
at org.apache.oozie.client.ProxyOozieClient.reRunCoord(ProxyOozieClient.java:478)
at org.apache.falcon.workflow.engine.OozieWorkflowEngine.reRunCoordAction(OozieWorkflowEngine.java:812)
at org.apache.falcon.workflow.engine.OozieWorkflowEngine.performAction(OozieWorkflowEngine.java:780)
at org.apache.falcon.workflow.engine.OozieWorkflowEngine.doJobAction(OozieWorkflowEngine.java:578)
at org.apache.falcon.workflow.engine.OozieWorkflowEngine.reRunInstances(OozieWorkflowEngine.java:500)
at org.apache.falcon.resource.AbstractInstanceManager.reRunInstance(AbstractInstanceManager.java:460)
at org.apache.falcon.resource.InstanceManager.reRunInstance(InstanceManager.java:228)
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 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)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
at org.apache.falcon.security.FalconAuthorizationFilter.doFilter(FalconAuthorizationFilter.java:106)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.apache.falcon.security.FalconAuthenticationFilter$2.doFilter(FalconAuthenticationFilter.java:184)
at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:392)
at org.apache.falcon.security.FalconAuthenticationFilter.doFilter(FalconAuthenticationFilter.java:193)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.apache.falcon.security.FalconAuditFilter.doFilter(FalconAuditFilter.java:64)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)