...
Edit the DATAFARI_HOME/mcf/mcf_home/options.env.unix file (on Datafari main node and on each MCF node if in n-tier architecture) and add the following line at the end of the file : -Djava.io.tmpdir=/path/to/tmpdir
Edit the DATAFARI_HOME/tomcat/bin/setenv.sh and the DATAFARI_HOME/tomcat-mcf/bin/setenv.sh files, and update the JAVA_OPTS parameter to add the -Djava.io.tmpdir=/path/to/tmpdir param.
Example:Code Block JAVA_OPTS="-Duser.timezone=UTC -Djava.io.tmpdir=/path/to/tmpdir"
Edit the DATAFARI_HOME/solr/bin/solr.in.sh (on each Solr node if in n-tier architecture) and update the SOLR_OPTS parameter to add the -Djava.io.tmpdir=/path/to/tmpdir param
Example:Code Block SOLR_OPTS="$SOLR_OPTS -Dsolr.ssl.checkPeerName=false -Djava.io.tmpdir=/path/to/tmpdir"
Edit the DATAFARI_HOME/tika-server/bin/set-tika-env.sh and update the TMP_DIR parameter to set it to your wanted /path/to/tmpdir
...
Info |
---|
For Datafari 4.x |
The tmp directory is a directory used by all JVM (and the OS), in which tmp files will be created. Usually, these tmp files are files that need to be read by an application and that are too big or too dangerous to be directly treated in memory. So it is really important for both Datafari and the operatig system on which it is installed, that the tmp directory fits the following recommandations :
...