You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Pallavi Rao (JIRA)" <ji...@apache.org> on 2016/01/06 05:49:39 UTC

[jira] [Assigned] (FALCON-1727) Suspend fails with InvalidStateTransitionException if entity has 'KILLED' instances

     [ https://issues.apache.org/jira/browse/FALCON-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pallavi Rao reassigned FALCON-1727:
-----------------------------------

    Assignee: Pallavi Rao

> Suspend fails with InvalidStateTransitionException if entity has 'KILLED' instances
> -----------------------------------------------------------------------------------
>
>                 Key: FALCON-1727
>                 URL: https://issues.apache.org/jira/browse/FALCON-1727
>             Project: Falcon
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 0.9
>            Reporter: Pragya Mittal
>            Assignee: Pallavi Rao
>
> If entity has some instances which are in KILLED state then that entity cannot be suspended.
> {noformat}
> dataqa@lda01:~$ fep -name ProcessWfTest-agregator-coord16-bcc5f5bd -suspend
> ERROR: Bad Request;ua1/org.apache.falcon.FalconWebException::org.apache.falcon.FalconException: Some instances failed to suspend : Instance suspend failed for : PROCESS/ProcessWfTest-agregator-coord16-bcc5f5bd/ProcessWfTest-corp-b3eeaf12/2016-01-05-14-00 due to Suspend failed for instance : PROCESS/ProcessWfTest-agregator-coord16-bcc5f5bd/ProcessWfTest-corp-b3eeaf12/2016-01-05-14-00
> {noformat}
> Stack trace :
> {noformat}
> 2016-01-05 14:32:54,398 ERROR - [1053544342@qtp-1816147548-4 - 9441ce75-cca6-4962-9efe-f58e60b44c2e:dataqa:POST//entities/suspend/process/ProcessWfTest-agregator-coord16-bcc5f5bd] ~ Suspend failed for instance id : PROCESS/ProcessWfTest-agregator-coord16-bcc5f5bd/ProcessWfTest-corp-b3eeaf12/2016-01-05-14-00 (ProcessExecutor:248)
> org.apache.falcon.exception.InvalidStateTransitionException: Instance is in terminal state, KILLED. Cannot apply transitions.
> 	at org.apache.falcon.state.InstanceState$STATE$6.nextTransition(InstanceState.java:137)
> 	at org.apache.falcon.state.InstanceState$STATE$6.nextTransition(InstanceState.java:128)
> 	at org.apache.falcon.state.InstanceState.nextTransition(InstanceState.java:236)
> 	at org.apache.falcon.state.StateService.handleStateChange(StateService.java:141)
> 	at org.apache.falcon.execution.ProcessExecutor.suspend(ProcessExecutor.java:246)
> 	at org.apache.falcon.execution.ProcessExecutor.suspendAll(ProcessExecutor.java:153)
> 	at org.apache.falcon.execution.FalconExecutionService.onSuspend(FalconExecutionService.java:170)
> 	at org.apache.falcon.state.StateService.callbackHandler(StateService.java:105)
> 	at org.apache.falcon.state.StateService.handleStateChange(StateService.java:83)
> 	at org.apache.falcon.execution.FalconExecutionService.suspend(FalconExecutionService.java:203)
> 	at org.apache.falcon.workflow.engine.FalconWorkflowEngine.suspend(FalconWorkflowEngine.java:118)
> 	at org.apache.falcon.resource.AbstractSchedulableEntityManager.suspend(AbstractSchedulableEntityManager.java:223)
> 	at org.apache.falcon.resource.SchedulableEntityManager.suspend(SchedulableEntityManager.java:167)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> {noformat}



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