Info |
---|
Starting from Datafari 5.2 |
Datafari uses the folder /opt/datafari/tmp to store temporary files.
You can change this value but keep in mind these recommandations :
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 :
Be on the fastest available partition (SSD or equivalent)
The partition holding the tmp directoy must have enough available free space : at least 10% of the partition on which Datafari is installed
Be readable, writable and executable by any user
Be directly reachable by Datafari, no particular protocol or credentials to use.
By default, Datafari uses the opt/datafari/tmp directory. However, if you need to change it, you can do so before the initialization of Datafari.
You need to edit the file $DATAFARI_HOME/bin/deployUtils/temp_directory.properties and change the properties that you want to indicate what path you want for the listed components.
Code Block |
---|
TOMCATTMPDIR=/opt/datafari/tmp
TOMCATMCFTMPDIR=/opt/datafari/tmp
MCFTMPDIR=/opt/datafari/tmp
SOLRTMPDIR=/opt/datafari/tmp
TIKATMPDIR=/opt/datafari/tmp |
...
Info |
---|
Starting from Datafari 5 |
Datafari uses the folder /tmp to store temporary files.
...