airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject airavata git commit: temporary revert of scratch location
Date Fri, 01 Apr 2016 21:55:22 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop f5e0f227e -> 2536b339a


temporary revert of scratch location


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

Branch: refs/heads/develop
Commit: 2536b339a88be99022171a3378ea2faafc48f3ee
Parents: f5e0f22
Author: Suresh Marru <smarru@apache.org>
Authored: Fri Apr 1 17:55:14 2016 -0400
Committer: Suresh Marru <smarru@apache.org>
Committed: Fri Apr 1 17:55:14 2016 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/2536b339/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
index c588f76..fbd8095 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
@@ -111,7 +111,9 @@ public class GFacEngineImpl implements GFacEngine {
             processContext.setGatewayResourceProfile(gatewayProfile);
             ComputeResourcePreference computeResourcePreference = appCatalog.getGatewayProfile().getComputeResourcePreference
                     (gatewayId, processModel.getComputeResourceId());
-            String scratchLocation = Factory.getScratchLocation(processContext);
+            //FIXME: Temporary revert, this needs a proper fix.
+//            String scratchLocation = Factory.getScratchLocation(processContext);
+            String scratchLocation = computeResourcePreference.getScratchLocation();
             scratchLocation = scratchLocation + File.separator + processId + File.separator;
             processContext.setComputeResourcePreference(computeResourcePreference);
             StoragePreference storagePreference = appCatalog.getGatewayProfile().getStoragePreference(gatewayId,
processModel.getStorageResourceId());


Mime
View raw message