airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimuthu...@apache.org
Subject [airavata] branch staging updated: Accepting 0 byte files at output data staging
Date Mon, 24 Sep 2018 18:54:46 GMT
This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/staging by this push:
     new 25a63e5  Accepting 0 byte files at output data staging
25a63e5 is described below

commit 25a63e5658392d0212088b8bc98e1b20f7d3295a
Author: Dimuthu Wannipurage <dimuthu.wannipurage@datasprouts.com>
AuthorDate: Mon Sep 24 14:54:37 2018 -0400

    Accepting 0 byte files at output data staging
---
 .../org/apache/airavata/helix/impl/task/staging/DataStagingTask.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/staging/DataStagingTask.java
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/staging/DataStagingTask.java
index fe57776..b2c94d6 100644
--- a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/staging/DataStagingTask.java
+++ b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/staging/DataStagingTask.java
@@ -162,10 +162,10 @@ public abstract class DataStagingTask extends AiravataTask {
 
             File localFile = new File(localSourceFilePath);
             if (localFile.exists()) {
-                if (localFile.length() == 0) {
+                /*if (localFile.length() == 0) {
                     logger.warn("Local file " + localSourceFilePath +" size is 0 so ignoring
the upload");
                     return false;
-                }
+                }*/
             } else {
                 throw new TaskOnFailException("Local file does not exist at " + localSourceFilePath,
false, null);
             }


Mime
View raw message