The Working directory setting specifies where temporary files should be created.
- Default temp-dir
- Temporary files will be placed under the directory specified by the
java.io.tmpdirsetting for the system.
- Shared temp-dir
- Temporary files will be placed under the directory you specify. The files will be accessible to all execution nodes and the master server without needing to be moved between machines.
To be available to select, a directory must be:
- Already configured as an Import/export directory, as described in Accessing files on, and writing to, areas of the server filesystem.
- A shared directory, accessible by all machines where the external application will be executed.
Grid environments: For an external application to be executable on grid nodes, the Shared temp-dir option must be chosen for the working directory.
Job node setups: For an external applications to run on job nodes, either Working directory option is fine. However, if the directory specified by java.io.tmpdir is not an area shared between machines, and it usually is not, choosing Default temp-dir means that files will need to be moved between the master and job nodes.