airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject [17/20] airavata git commit: Mark process is complete absense of next task id
Date Wed, 02 Nov 2016 03:30:28 GMT
Mark process is complete absense of next task id


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/c64d0f02
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/c64d0f02
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/c64d0f02

Branch: refs/heads/auroraMesosIntegration
Commit: c64d0f020635decc170b61d3cf7fb20cfbbb7d44
Parents: e663370
Author: Shameera Rathnayaka <shameerainfo@gmail.com>
Authored: Tue Nov 1 22:48:12 2016 -0400
Committer: Shameera Rathnayaka <shameerainfo@gmail.com>
Committed: Tue Nov 1 22:48:12 2016 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/airavata/gfac/impl/GFacWorker.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/c64d0f02/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacWorker.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacWorker.java
b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacWorker.java
index 001b679..8e0d8d4 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacWorker.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacWorker.java
@@ -194,7 +194,9 @@ public class GFacWorker implements Runnable {
         }
         if (nextTaskId != null) {
             engine.continueProcess(processContext, nextTaskId);
-        }
+        }else {
+			processContext.setComplete(true);
+		}
         // checkpoint
         if (processContext.isInterrupted()) {
             return;


Mime
View raw message