falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1054) Falcon entity suspend fails with status check error
Date Fri, 13 Mar 2015 07:48:38 GMT

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

Shwetha G S commented on FALCON-1054:
-------------------------------------

I think the oozie API doesn't fail even if these precondition checks fail. If this is the
case, we can remove this check in falcon and avoid syncing with oozie with its changes. But
check the behaviour of the API

> Falcon entity suspend fails with status check error
> ---------------------------------------------------
>
>                 Key: FALCON-1054
>                 URL: https://issues.apache.org/jira/browse/FALCON-1054
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: Shaik Idris Ali
>            Assignee: Shaik Idris Ali
>              Labels: suspend
>             Fix For: 0.6.1
>
>         Attachments: FALCON-1054.patch, FALCON-1054_v1.patch
>
>
> {code}shaik@>:~$ sudo -u userplatform falcon entity -type process -name user-udid-nid-populator-process
-suspend
> Stacktrace:
> org.apache.falcon.client.FalconCLIException: Bad Request;uj1/org.apache.falcon.FalconException::org.apache.falcon.FalconException:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result><status>FAILED</status><message>org.apache.falcon.FalconException:
For Job0899116-141120130835003-oozie-oozi-B, actual statuses: DONEWITHERROR, expected statuses:
[PREPSUSPENDED, SUSPENDED, SUCCEEDED, FAILED, KILLED]
> 	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.assertStatus(OozieWorkflowEngine.java:1322)
> 	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.suspend(OozieWorkflowEngine.java:1384)
> 	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.doBundleAction(OozieWorkflowEngine.java:348)
> 	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.doBundleAction(OozieWorkflowEngine.java:334)
> 	at org.apache.falcon.workflow.engine.OozieWorkflowEngine.suspend(OozieWorkflowEngine.java:308)
> 	at org.apache.falcon.resource.AbstractSchedulableEntityManager.suspend(AbstractSchedulableEntityManager.java:114)
> 	at org.apache.falcon.resource.SchedulableEntityManager.suspend(SchedulableEntityManager.java:97)
> 	at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source)
> 	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.BasicAuthFilter$2.doFilter(BasicAuthFilter.java:184)
> 	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:392)
> 	at org.apache.falcon.security.BasicAuthFilter.doFilter(BasicAuthFilter.java:222)
> 	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){code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message