airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject git commit: fixg monitoring issue
Date Sat, 12 Jul 2014 05:12:51 GMT
Repository: airavata
Updated Branches:
  refs/heads/master b991fe318 -> 779b61864


fixg monitoring issue


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

Branch: refs/heads/master
Commit: 779b6186431d5f748135b24b7ff6abe8b782cf01
Parents: b991fe3
Author: lahiru <lahiru@apache.org>
Authored: Sat Jul 12 01:12:24 2014 -0400
Committer: lahiru <lahiru@apache.org>
Committed: Sat Jul 12 01:12:24 2014 -0400

----------------------------------------------------------------------
 .../airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java      | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/779b6186/modules/gfac/gfac-monitor/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-monitor/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java
b/modules/gfac/gfac-monitor/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java
index b34cfe7..193f23f 100644
--- a/modules/gfac/gfac-monitor/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java
+++ b/modules/gfac/gfac-monitor/src/main/java/org/apache/airavata/gfac/monitor/impl/pull/qstat/HPCPullMonitor.java
@@ -186,8 +186,6 @@ public class HPCPullMonitor extends PullMonitor {
                             logger.error("Tried to monitor the job with ID " + iMonitorID.getJobID()
+ " But failed 3 times, so skip this Job from Monitor");
                             iMonitorID.setLastMonitored(new Timestamp((new Date()).getTime()));
                             completedJobs.add(iMonitorID);
-                        } else if (!iMonitorID.getStatus().equals(JobState.UNKNOWN)) {
-                            iMonitorID.setFailedCount(0);
                         } else {
                             // Evey
                             iMonitorID.setLastMonitored(new Timestamp((new Date()).getTime()));


Mime
View raw message