Changing /tmp directory for Netty

You must change the Netty temporary 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}} -Dorg.apache.ratis.thirdparty.io.netty.native.workdir=<path>. Replace <path> with the new temporary directory.
  7. Click Save Changes.