airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramin...@apache.org
Subject git commit: Fixed reading the input from remote.
Date Thu, 13 Mar 2014 16:51:11 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 30b04ca4f -> b1b517864


Fixed reading the input from remote. 

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

Branch: refs/heads/master
Commit: b1b51786497237fc101c79491a30f1f1274be1c8
Parents: 30b04ca
Author: raminder <raminder@apache.org>
Authored: Thu Mar 13 12:50:58 2014 -0400
Committer: raminder <raminder@apache.org>
Committed: Thu Mar 13 12:50:58 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/airavata/blob/b1b51786/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/handler/AdvancedSCPInputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/handler/AdvancedSCPInputHandler.java
b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/handler/AdvancedSCPInputHandler.java
index 726172d..30dd983 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/handler/AdvancedSCPInputHandler.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/handler/AdvancedSCPInputHandler.java
@@ -102,7 +102,7 @@ public class AdvancedSCPInputHandler extends AbstractHandler{
             // not really dealing with monitoring or job submission, so we pa
             pbsCluster = new PBSCluster(serverInfo, authenticationInfo, CommonUtils.getPBSJobManager("/opt/torque/torque-4.2.3.1/bin/"));
             String parentPath = inputPath + File.separator + jobExecutionContext.getExperimentID()
+ File.separator + jobExecutionContext.getTaskData().getTaskID();
-            pbsCluster.makeDirectory(parentPath);
+           (new File(parentPath)).mkdirs();
             MessageContext input = jobExecutionContext.getInMessageContext();
             Set<String> parameters = input.getParameters().keySet();
             for (String paramName : parameters) {


Mime
View raw message