Changing /tmp directory for CLI tools
You must change the /tmp directory to a different directory for security purposes of the CLI tools.
Java tempdir configuration
export OZONE_OPTS="-Djava.io.tmpdir=<path> $OZONE_OPTS"
Alternative configurations
- RocksDB temporary path configuration
-
export OZONE_OPTS="-DROCKSDB_SHAREDLIB_DIR=<path> $OZONE_OPTS"
- Netty temporary path configuration
-
export OZONE_OPTS="-Dorg.apache.ratis.thirdparty.io.netty.native.workdir=<path> $OZONE_OPTS"