airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject [2/3] git commit: removing retry in job submission
Date Fri, 03 Oct 2014 03:15:37 GMT
removing retry in job submission


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

Branch: refs/heads/master
Commit: 06b79c3b473ab546cac2800823f22006e8f28b92
Parents: 3c5fd4b
Author: lahiru <lahiru@apache.org>
Authored: Thu Oct 2 23:14:09 2014 -0400
Committer: lahiru <lahiru@apache.org>
Committed: Thu Oct 2 23:14:09 2014 -0400

----------------------------------------------------------------------
 .../org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/06b79c3b/tools/gsissh/src/main/java/org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java
----------------------------------------------------------------------
diff --git a/tools/gsissh/src/main/java/org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java
b/tools/gsissh/src/main/java/org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java
index 09d9b60..3d6e630 100644
--- a/tools/gsissh/src/main/java/org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java
+++ b/tools/gsissh/src/main/java/org/apache/airavata/gsi/ssh/impl/GSISSHAbstractCluster.java
@@ -589,7 +589,7 @@ public class GSISSHAbstractCluster implements Cluster {
         log.info("StandardOutput Returned:" + stdOutputString);
         log.info("StandardError  Returned:" +stdErrorString);
         // We are checking for stderr containing the command issued. Thus ignores the verbose
logs in stderr.
-        if (stdErrorString != null && stdErrorString.contains(command)) {
+        if (stdErrorString != null && stdErrorString.contains(command) &&
!stdErrorString.contains("Warning")) {
             log.error("Standard Error output : " + stdErrorString);
             throw new SSHApiException(errorMsg + "\n\r StandardOutput: "+ stdOutputString
+ "\n\r StandardError: "+ stdErrorString);
         }


Mime
View raw message