airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: not making experiment status as failed when cancel failed
Date Tue, 19 May 2015 20:44:40 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 973bf93a9 -> 419cd6a3c


not making experiment status as failed when cancel failed


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

Branch: refs/heads/master
Commit: 419cd6a3c4603060d40424da660079729c7e9a81
Parents: 973bf93
Author: Chathuri Wimalasena <chathuri@apache.org>
Authored: Tue May 19 16:44:35 2015 -0400
Committer: Chathuri Wimalasena <chathuri@apache.org>
Committed: Tue May 19 16:44:35 2015 -0400

----------------------------------------------------------------------
 .../org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java     | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/419cd6a3/modules/gfac/gfac-ssh/src/main/java/org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-ssh/src/main/java/org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java
b/modules/gfac/gfac-ssh/src/main/java/org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java
index b28c008..b5c94e2 100644
--- a/modules/gfac/gfac-ssh/src/main/java/org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java
+++ b/modules/gfac/gfac-ssh/src/main/java/org/apache/airavata/gfac/ssh/provider/impl/SSHProvider.java
@@ -264,7 +264,6 @@ public class SSHProvider extends AbstractProvider {
                         GFacUtils.saveJobStatus(jobExecutionContext, jobDetails, JobState.CANCELED,
monitorPublisher);
                     } else {
                         log.info("Job Cancel operation failed");
-                        GFacUtils.saveJobStatus(jobExecutionContext, jobDetails, JobState.FAILED,
monitorPublisher);
                     }
                 } else {
                     log.error("No Job Id is set, so cannot perform the cancel operation !!!");


Mime
View raw message