Changing Temp Space For Each Scaffold Batch Run

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

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.