[jira] [Resolved] (AIRAVATA-2962) Issue with experiment cancelation request prior to job submission

2018-12-19 Thread Dimuthu Upeksha (JIRA)


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

Dimuthu Upeksha resolved AIRAVATA-2962.
---
Resolution: Fixed

> Issue with experiment cancelation request prior to job submission
> -
>
> Key: AIRAVATA-2962
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2962
> Project: Airavata
>  Issue Type: Bug
>  Components: helix implementation
>Affects Versions: 0.18
> Environment: https://staging.ultrascan.scigap.org
>Reporter: Eroma
>Assignee: Dimuthu Upeksha
>Priority: Major
> Fix For: 0.18
>
>
> The cancelation was not moving forward and the experiment is in CANCELING.
> The helix has timed out while waiting to stop the pre workflow for 
> cancelation.
> Error in participant log:
> 2018-12-18 18:52:44,788 [TaskStateModelFactory-task_thread] ERROR 
> o.a.a.h.i.t.c.WorkflowCancellationTask - Failed to stop workflow 
> Workflow_of_process_PROCESS_59bc08eb-23c8-487e-9ea3-c7de8b38fdd1-PRE-21e29feb-4a09-46ac-a504-1b9f5ee3a483
> org.apache.helix.HelixException: Workflow 
> "Workflow_of_process_PROCESS_59bc08eb-23c8-487e-9ea3-c7de8b38fdd1-PRE-21e29feb-4a09-46ac-a504-1b9f5ee3a483"
>  context is empty or not in states: 
> "[Lorg.apache.helix.task.TaskState;@522e1107"
>  at org.apache.helix.task.TaskDriver.pollForWorkflowState(TaskDriver.java:700)
>  at 
> org.apache.airavata.helix.impl.task.cancel.WorkflowCancellationTask.onRun(WorkflowCancellationTask.java:71)
>  at org.apache.airavata.helix.core.AbstractTask.run(AbstractTask.java:92)
>  at org.apache.helix.task.TaskRunner.run(TaskRunner.java:71)
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>  at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>  at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (AIRAVATA-2962) Issue with experiment cancelation request prior to job submission

2018-12-19 Thread Dimuthu Upeksha (JIRA)


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

Dimuthu Upeksha commented on AIRAVATA-2962:
---

Fixed inĀ 

[https://github.com/apache/airavata/commit/a6ef239695f87c8d9ebf97ff6977b335e6e9820a]

https://github.com/apache/airavata/commit/711c2d77ccdac6ad4a5a861bb178ec3c0a274fe0

> Issue with experiment cancelation request prior to job submission
> -
>
> Key: AIRAVATA-2962
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2962
> Project: Airavata
>  Issue Type: Bug
>  Components: helix implementation
>Affects Versions: 0.18
> Environment: https://staging.ultrascan.scigap.org
>Reporter: Eroma
>Assignee: Dimuthu Upeksha
>Priority: Major
> Fix For: 0.18
>
>
> The cancelation was not moving forward and the experiment is in CANCELING.
> The helix has timed out while waiting to stop the pre workflow for 
> cancelation.
> Error in participant log:
> 2018-12-18 18:52:44,788 [TaskStateModelFactory-task_thread] ERROR 
> o.a.a.h.i.t.c.WorkflowCancellationTask - Failed to stop workflow 
> Workflow_of_process_PROCESS_59bc08eb-23c8-487e-9ea3-c7de8b38fdd1-PRE-21e29feb-4a09-46ac-a504-1b9f5ee3a483
> org.apache.helix.HelixException: Workflow 
> "Workflow_of_process_PROCESS_59bc08eb-23c8-487e-9ea3-c7de8b38fdd1-PRE-21e29feb-4a09-46ac-a504-1b9f5ee3a483"
>  context is empty or not in states: 
> "[Lorg.apache.helix.task.TaskState;@522e1107"
>  at org.apache.helix.task.TaskDriver.pollForWorkflowState(TaskDriver.java:700)
>  at 
> org.apache.airavata.helix.impl.task.cancel.WorkflowCancellationTask.onRun(WorkflowCancellationTask.java:71)
>  at org.apache.airavata.helix.core.AbstractTask.run(AbstractTask.java:92)
>  at org.apache.helix.task.TaskRunner.run(TaskRunner.java:71)
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>  at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>  at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)