Changing /tmp directory for Ozone services

You must change 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_java_opts.
  6. Define the temporary path for ozone_java_opts.
    ozone_java_opts={{java_args}} -Djava.io.tmpdir=<path>. Replace <path> with the new temporary directory.
  7. Click Save Changes.