Ozone cluster does not have execute permission on /tmp path

If the Ozone cluster does not have execute permission on the /tmp path, Cloudera Storage Optimizer might fail. To resolve this issue, create a new temporary directory and update the Ozone configuration.

  1. Open Terminal in your device.
  2. Create a temporary directory with execute permissions by running the following commands:
    klist
    kdestroy
    kinit -kt <***KEYTABS_PATH***>/om.keytab om
    mkdir -p /opt/tiering/tmp
    chown om:om /opt/tiering/tmp
    chmod 1777 /opt/tiering/tmp
  3. Sign in to Cloudera Manager.
  4. In the left navigation, click Clusters and select the Ozone cluster.
  5. Go to the Configuration tab.
  6. Search for the ozone_java_opts property and add the following value:
    -Djava.io.tmpdir=/opt/tiering/tmp
  7. Search for ozone_tiering_java_opts property and add the following value:
    -Dparquet.compression.codec.snappy.tmpdir=/opt/tiering/tmp
  8. Click Save Changes.
  9. From the Actions drop-down menu, select Restart to apply the changes.