git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineSmartExecutor@167412 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
22b2cfcafb
commit
066809a7ae
|
@ -28,7 +28,8 @@ public abstract class GenericRScript extends StandardLocalInfraAlgorithm {
|
|||
protected HashMap<String, String> outputValues = new HashMap<String, String>();
|
||||
protected LinkedHashMap<String, StatisticalType> output = new LinkedHashMap<String, StatisticalType>();
|
||||
LocalRScriptsManager scriptmanager;
|
||||
|
||||
protected File currentFolder = null;
|
||||
|
||||
@Override
|
||||
public void shutdown() {
|
||||
// in the case of forced shutdown, stop the R process
|
||||
|
@ -60,6 +61,7 @@ public abstract class GenericRScript extends StandardLocalInfraAlgorithm {
|
|||
StorageUtils.downloadInputFile(packageURL, localPackage.getAbsolutePath(), true);
|
||||
LOGGER.debug("Generating sandbox folder");
|
||||
File folder = new File(config.getConfigPath(), "rscr_" + UUID.randomUUID());
|
||||
currentFolder = folder;
|
||||
boolean mkdir = folder.mkdir();
|
||||
LOGGER.debug("Sandbox " + folder.getAbsolutePath() + " generated: " + mkdir);
|
||||
LOGGER.debug("Unzipping package into " + folder.getAbsolutePath());
|
||||
|
|
Loading…
Reference in New Issue