Ozone cluster does not have exec permission on /tmp path

If the Ozone cluster does not have exec permission on the /tmp path, Cloudera Storage Optimizer might fail. To resolve this issue, add the following configurations in the Ozone configurations.

  1. Open Terminal in your device.
  2. Create a temporary directory with exec 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. Click Configuration tab.
  6. Search for ozone_java_opts and add the following configuration:
    -Djava.io.tmpdir=/opt/tiering/tmp
  7. Search for ozone_tiering_java_opts and add the following configuration:
    -Dparquet.compression.codec.snappy.tmpdir=/opt/tiering/tmp
  8. Click Save Changes.
  9. Click Actions dropdown menu and click Restart to apply the above configurations.