airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1434789 - /airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Date Thu, 17 Jan 2013 17:18:28 GMT
Author: lahiru
Date: Thu Jan 17 17:18:28 2013
New Revision: 1434789

URL: http://svn.apache.org/viewvc?rev=1434789&view=rev
Log:
making workflow stop when error occurs.

Modified:
    airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java

Modified: airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java?rev=1434789&r1=1434788&r2=1434789&view=diff
==============================================================================
--- airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
(original)
+++ airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Thu Jan 17 17:18:28 2013
@@ -231,7 +231,9 @@ public class WorkflowInterpreter {
 					// so we should pause the execution
 					if (InterpreterUtil.getRunningNodeCountDynamically(this.getGraph()) == 0
 							&& InterpreterUtil.getFailedNodeCountDynamically(this.getGraph()) != 0) {
-						this.getWorkflow().setExecutionState(WorkflowExecutionState.PAUSED);
+                        //Since airavata only support workflow interpreter server mode we
do not want to keep thread in sleep mode
+                        // continuously, so we make the workflow stop when there's nothing
to do.
+						this.getWorkflow().setExecutionState(WorkflowExecutionState.STOPPED);
 					}
 
 					try {



Mime
View raw message