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.
-
Open Terminal in your device.
-
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
-
Sign in to Cloudera Manager.
-
In the left navigation, click Clusters and select the
Ozone cluster.
-
Click Configuration tab.
-
Search for ozone_java_opts and add the following
configuration:
-Djava.io.tmpdir=/opt/tiering/tmp
-
Search for ozone_tiering_java_opts and add the following
configuration:
-Dparquet.compression.codec.snappy.tmpdir=/opt/tiering/tmp
-
Click Save Changes.
-
Click Actions dropdown menu and click
Restart to apply the above configurations.