Configuring profiles using
Cloudera Storage Optimizer UI
Cloudera Storage Optimizer offers a user-friendly web
interface for configuring data conversion policies
using
the Cloudera Storage Optimizer
UI.
Various types of profiles can be created and used, but only one will be default and
activated at a time.
The
following
example
profiles
can be used as default profiles:
Standard profile (balanced):
Keys older than 30 days
Size
larger
than 32 MB
Not accessed in the time
window
The
standard profile converts files larger than 32 MB that
are not accessed
for
30 days to EC format.
Aggressive profile (maximum savings):
Keys older than 7 days
Size
larger
than 1 MB
Ideal for logs and temporary
data
The
aggressive
profile
converts log files to EC
after
7 days of inactivity.
Conservative profile (minimal risk):
Keys older than 90 days
Size
larger
than 100 MB
For critical archived
data
The
conservative profile
converts
large files that are
not
accessed
for
more than 3
months.
This profile is useful for cautious approach for important
data.
Sign in to Cloudera Manager.
In the left navigation, click Clusters and select the
Ozone cluster.
Go
to the
Instances
tab and click
Ozone Tiering in the Role Type
column. The Cloudera Storage Optimizer UI page
is
displayed.
Go
to the
Configuration
tab.
Click Profile Configurations to create and manage
storage optimization profiles.
Replication Type: Select
RATIS. By default, only RATIS
replicated data can be converted to erasure coding (EC).
Replication Factor: Enter
THREE for standard 3x replication or
your
cluster
replication setting.
Convert Keys Older Than: Enter the
minimum number of days after which the files are eligible for
conversion. Minimum value is 1 day. Default value is
30
days.
For
example,
setting
this
value to 30 days means that only files
that are not accessed for 30 days or more will be converted
to EC.
Convert Keys Above Size: Enter the
minimum size of files in MB that are eligible for conversion.
Default value is 32 MB. However, Cloudera
recommends
using
3 MB to 100 MB depending on your use
case.
Access Count
Configuration
section
–
Define
access patterns to identify truly cold data. You can create multiple
access groups for granular control.
Max. Access Count: Maximum number of
times a file can be
accessed. U
use
<=
for less than or
equal.
Keys Within: Time interval in days for
counting accesses. Maximum value is 30 days.
Click Add New Group + to define
multiple access criteria. Files must meet all the Access
Group conditions to be converted.
Example
If the Max Access
Count value is set to <= 2
and the Keys Within value is set to
5
days, Cloudera Storage Optimizer converts
files that were accessed no more than twice in the past 5
days.
Workflow
Exclusions
section
–
Protect critical data by defining paths that
are
never
converted, regardless of other
criteria.
Volume: Enter the volume name that you
want to
exclude.
For
example,
critical-volume
Bucket: Specify the bucket name that you
want to exclude.
For
example,
real-time-bucket
Key / Prefix (%): Define the key patterns
using % as wildcard.
For
example,
/important/% excludes all keys
under
/important/
Click Add New Path + to add multiple
exclusion rules.