airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: fixing untaring issue in archive task
Date Fri, 07 Jul 2017 19:20:19 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop d49fcd72e -> 704ba6612


fixing untaring issue in archive task


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

Branch: refs/heads/develop
Commit: 704ba661233136c338a5fc4e141a982e3fe0e795
Parents: d49fcd7
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Fri Jul 7 15:20:13 2017 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Fri Jul 7 15:20:13 2017 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/704ba661/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java
b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java
index 1fbec86..62c729c 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java
@@ -146,7 +146,7 @@ public class ArchiveTask implements Task {
             commandInfo = new RawCommandInfo("cd " + destParent + " && mkdir " +
storageArchiveDir +
                     " && tar -xvf " + archiveTar + " -C " + storageArchiveDir + "
&& rm " + archiveTar +
                     " && chmod 755 -R " + storageArchiveDir + "/*");
-            executeCommand(srcSession, commandInfo, new StandardOutReader());
+            executeCommand(destSession, commandInfo, new StandardOutReader());
         } catch (CredentialStoreException e) {
             String msg = "Storage authentication issue, make sure you are passing valid credential
token";
             log.error(msg, e);


Mime
View raw message