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