Multiple instances sharing the same temp file can cause problems when running simultaneous Scaffold Batch runs. Here is an idea to work around this:
https://stackoverflow.com/questions/1924136/environment-variable-to-control-java-io-tmpdir
You can set your JVM settings before running the job to use different temp space, eg:
/tmp/sfd_batch_<uuid>
Scaffold has no built-in way to configure this, but if you are running from the command line, you might be able to do this with Python or bash:
export _JAVA_OPTIONS=-Djava.io.tmpdir=/new/tmp/dir
0 Comments