Changing /tmp directory for RocksDB

You must change the RocksDB the /tmp directory to a different temporary directory for security purposes of the Ozone services.

  1. Log in to Cloudera Manager UI.
  2. Navigate to Clusters.
  3. Select the Ozone service.
  4. Go to Configurations.
  5. Search for Ozone Service Environment Advanced Configuration Snippet (Safety Valve).
  6. Define the temporary path for ROCKSDB_SHAREDLIB_DIR.
    In the ROCKSDB_SHAREDLIB_DIR=<path> key. Replace <path> with the new temporary directory.
  7. Click Save Changes.