falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pragya Mittal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1727) Suspend fails with InvalidStateTransitionException if entity has 'KILLED' instances
Date Tue, 05 Jan 2016 14:36:39 GMT

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

Pragya Mittal updated FALCON-1727:
----------------------------------
    Description: 
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}

> 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
>
> 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)

Mime
View raw message