airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject airavata git commit: Update Began state to match with ACTIVE job state in SLURM email monitor parser
Date Mon, 27 Apr 2015 14:31:32 GMT
Repository: airavata
Updated Branches:
  refs/heads/master cc40cf33a -> e7e23bf30


Update Began state to match with ACTIVE job state in SLURM email monitor parser


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

Branch: refs/heads/master
Commit: e7e23bf3045d07c7a46f5e1279cf2a00f14c2240
Parents: cc40cf3
Author: shamrath <shameerainfo@gmail.com>
Authored: Mon Apr 27 10:31:26 2015 -0400
Committer: shamrath <shameerainfo@gmail.com>
Committed: Mon Apr 27 10:31:26 2015 -0400

----------------------------------------------------------------------
 .../airavata/gfac/monitor/email/parser/SLURMEmailParser.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/e7e23bf3/modules/gfac/gfac-monitor/gfac-email-monitor/src/main/java/org/apache/airavata/gfac/monitor/email/parser/SLURMEmailParser.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-monitor/gfac-email-monitor/src/main/java/org/apache/airavata/gfac/monitor/email/parser/SLURMEmailParser.java
b/modules/gfac/gfac-monitor/gfac-email-monitor/src/main/java/org/apache/airavata/gfac/monitor/email/parser/SLURMEmailParser.java
index 9717b39..4a1b362 100644
--- a/modules/gfac/gfac-monitor/gfac-email-monitor/src/main/java/org/apache/airavata/gfac/monitor/email/parser/SLURMEmailParser.java
+++ b/modules/gfac/gfac-monitor/gfac-email-monitor/src/main/java/org/apache/airavata/gfac/monitor/email/parser/SLURMEmailParser.java
@@ -62,7 +62,7 @@ public class SLURMEmailParser implements EmailParser {
     private JobState getJobState(String state) {
         switch (state.trim()) {
             case BEGAN:
-                return JobState.QUEUED;
+                return JobState.ACTIVE;
             case ENDED:
                 return JobState.COMPLETE;
             case FAILED:


Mime
View raw message