airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject [10/11] airavata git commit: Fixed AIRAVATA-1647.
Date Fri, 03 Apr 2015 15:24:50 GMT
Fixed AIRAVATA-1647.

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

Branch: refs/heads/emailMonitoring
Commit: 732da594f0fc7fefbf1c0c53946db4cf035ef7db
Parents: 764a239
Author: raminder <raminder@apache.org>
Authored: Thu Apr 2 15:34:16 2015 -0400
Committer: raminder <raminder@apache.org>
Committed: Thu Apr 2 15:34:16 2015 -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/732da594/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 cf9f931..3d18013 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
@@ -675,7 +675,7 @@ public class GSISSHAbstractCluster implements Cluster {
         String[] list = command.split(File.separator);
         command = list[list.length - 1];
         // We are checking for stderr containing the command issued. Thus ignores the verbose
logs in stderr.
-        if (stdErrorString != null && stdErrorString.contains(command) &&
!stdErrorString.contains("Warning")) {
+        if (stdErrorString != null && stdErrorString.contains(command.trim()) &&
!stdErrorString.contains("Warning")) {
             log.error("Standard Error output : " + stdErrorString);
             throw new SSHApiException(errorMsg + "\n\r StandardOutput: "+ stdOutputString
+ "\n\r StandardError: "+ stdErrorString);
         }else if(stdOutputString.contains("error")){


Mime
View raw message