airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject git commit: fixing a listdirectory checkup due to fast amqp message recieve
Date Wed, 08 Oct 2014 19:19:51 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 9b5a4fe7d -> f84eeeae2


fixing a listdirectory checkup due to fast amqp message recieve


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

Branch: refs/heads/master
Commit: f84eeeae281a5d7f2a8caa573006693fa2ba98a3
Parents: 9b5a4fe
Author: lahiru <lahiru@apache.org>
Authored: Wed Oct 8 15:19:43 2014 -0400
Committer: lahiru <lahiru@apache.org>
Committed: Wed Oct 8 15:19:43 2014 -0400

----------------------------------------------------------------------
 .../apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/f84eeeae/modules/gfac/gfac-gsissh/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-gsissh/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java
b/modules/gfac/gfac-gsissh/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java
index b7e3097..c155184 100644
--- a/modules/gfac/gfac-gsissh/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java
+++ b/modules/gfac/gfac-gsissh/src/main/java/org/apache/airavata/gfac/gsissh/handler/GSISSHOutputHandler.java
@@ -217,7 +217,7 @@ public class GSISSHOutputHandler extends AbstractRecoverableHandler {
                     int retry=3;
                     while(retry>0){
                     	 outputList = cluster.listDirectory(app.getOutputDataDirectory());
-                    	 if(outputList.size() > 0){
+                    	 if(!outputList.get(0).isEmpty() && outputList.size() > 0){
                     		 break;
                     	 }	
                     	 retry--;


Mime
View raw message