airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject git commit: more logs
Date Fri, 03 Oct 2014 21:12:50 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 552f9b1e5 -> 60de53978


more logs


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

Branch: refs/heads/master
Commit: 60de53978f8fdd2441366772648b195000cb4391
Parents: 552f9b1
Author: lahiru <lahiru@apache.org>
Authored: Fri Oct 3 17:12:44 2014 -0400
Committer: lahiru <lahiru@apache.org>
Committed: Fri Oct 3 17:12:44 2014 -0400

----------------------------------------------------------------------
 .../gfac/monitor/impl/pull/qstat/HPCPullMonitor.java      | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/60de5397/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 49ceb28..959104e 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
@@ -244,6 +244,16 @@ public class HPCPullMonitor extends PullMonitor {
                                     .getApplicationDeploymentDescription().getType().getOutputDataDirectory();
                             List<String> stdOut = connection.getCluster().listDirectory(outputDir);
// check the outputs directory
                             if (stdOut.size() > 0) { // have to be careful with this
+                                for(int i=0;i<stdOut.size();i++) {
+                                    logger.info("--------------------------------------------------------------------------------------------");
+                                    logger.info("--------------------------------------------------------------------------------------------");
+                                    logger.info("--------------------------------------------------------------------------------------------");
+                                    logger.info("--------------------------------------------------------------------------------------------");
+                                    logger.info("--------------------------------------------------------------------------------------------");
+                                    logger.info("--------------------------------------------------------------------------------------------");
+                                    logger.info("--------------------------------------------------------------------------------------------");
+                                    logger.info(stdOut.get(i));
+                                }
                                 completedJobs.put(iMonitorID.getJobName(), iMonitorID);
                                 logger.errorId(iMonitorID.getJobID(), "Job monitoring failed
{} times, removed job {} from " +
                                                 "monitor queue. Experiment {} , task {}",
iMonitorID.getFailedCount(),


Mime
View raw message