Skip to content

Commit

Permalink
Merge pull request #94 from itesla/create_local_computation_dir
Browse files Browse the repository at this point in the history
makes sure that the local computation manager tmpDir , defined in con…
  • Loading branch information
mathbagu committed Oct 19, 2016
2 parents 5030ae9 + 818a5a9 commit 5717dd7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ public LocalComputationManager(LocalComputationConfig config) throws IOException
this.config = Objects.requireNonNull(config, "config is null");
status = new LocalComputationResourcesStatus(config.getAvailableCore());
permits = new Semaphore(config.getAvailableCore());
//make sure the localdir exists
Files.createDirectories(config.getLocalDir());
commonDir = new WorkingDirectory(config.getLocalDir(), "itesla_common_", false);
LOGGER.info(config.toString());
}
Expand Down

0 comments on commit 5717dd7

Please sign in to comment.