HDFS suits mostly large files; Ozone is built to hold billions of objects, small and large, and to serve S3 as well as a Hadoop-compatible file system. They run side by side on Cloudera under the same security. Move a workload when the HDFS name service is strained, when you need S3 access in your perimeter, or when density is the limit.
Design differences
HDFS keeps its file namespace in the NameNode, so file count is limited by its memory. Ozone separates the namespace, managed by the Ozone Manager, from container management, handled by the Storage Container Manager. Keys are stored as blocks in containers, and Cloudera notes a default container size of 5 GB. Cloudera also notes that metadata and DataNode volumes should sit on low-latency storage such as NVMe or SSD.
The data model is closer to S3 than to a file tree. An administrator creates a volume, usually for a team or organization. A volume holds buckets, which any user can create, and buckets hold keys, which work like S3 objects. Cloudera says Ozone can be co-located with HDFS under one set of security and governance policies, and that Spark, Impala, YARN and Hive run on it without changes. Deletes are synchronous: the Ozone Manager removes the key from the active namespace and marks the data for garbage collection.
Small files
Cloudera says HDFS struggles with many small files while Ozone manages small and large files equally well. If your NameNode is under memory pressure from file counts, that is the signal to look at Ozone. Measure first: count files by size band on the datasets you suspect, so the case rests on your data and not on a general rule.
Density and scale
Cloudera documents up to 400 TB per Ozone DataNode against 100 TB for HDFS, and a design target of over 100 billion objects in one cluster. Plan network and recovery with these larger nodes in mind. It also describes strong consistency, designed for strict serializability.
Bucket layouts and access paths
Ozone buckets come in layouts, and the layout decides how an application can reach the data. Cloudera documents these:
| Layout | Namespace | Access | Use for |
|---|---|---|---|
| File system optimized (FSO) | Hierarchical directories and files, like HDFS | S3, ofs and o3fs (o3fs is deprecated) | Hive, Spark and Impala data that uses directories and renames |
| Object store (OBS) | Flat keys, like Amazon S3 | S3 only | S3-style applications that do not rename directories |
| Legacy | Buckets that existed before an upgrade | Kept working as before | Existing buckets, not new ones |
Renames and deletes of directories are atomic on FSO. On OBS a directory rename is many client calls, so writing to a temp directory and renaming it is costly. Cloudera states that FSO and OBS are available on Cloudera Base on premises 7.1.8 and higher.
Data protection: replication or erasure coding
Ozone's default scheme is three-way replication through Ratis. Cloudera describes erasure coding as giving similar durability with less space: its example is 6 data blocks needing 18 blocks of disk under replication, but 9 with 6 data and 3 parity blocks. It recommends applying erasure coding at the bucket level, and notes Ozone does not support ISA-L. The Apache Ozone documentation adds that a cluster needs at least as many DataNodes as the stripe width, so a 6 plus 3 layout needs 9. A bucket-level setting only affects new files.
| Scheme | Disk for 6 blocks of data | Think about |
|---|---|---|
| Ratis three-way replication | 18 blocks | Simple, and the default |
| Erasure coding, 6 data plus 3 parity | 9 blocks | Needs enough DataNodes for the stripe, and a plan for small files |
Decision table
| Situation | Stay on HDFS | Consider Ozone |
|---|---|---|
| Mostly large files, stable | Yes | Not needed |
| Many small files straining the NameNode | No | Yes |
| Applications written for S3, data must stay on premises | No | Yes, through the S3 gateway |
| Need very dense nodes | Limited | Yes |
| Workload relies on file append or concatenation | Yes | Check first; Cloudera's copy guide lists these as unsupported |
Cloudera's HDFS-to-Ozone copy guide lists append, concatenation and the distcp snapshot-diff options as unsupported on Ozone. Ozone does have its own bucket snapshot feature in Runtime 7.3, with create, list, delete and diff commands, so test any job that depends on either behavior. Check your release for changes.
How to run a fit test
- Profile HDFS: file count, size bands and NameNode memory use for each dataset.
- List the applications on each dataset and whether any rely on append or concatenation.
- Pick one dataset where small files hurt, and copy it to an FSO bucket.
- Run its real jobs on both copies and compare runtime and cluster load.
- Decide per dataset, not for the whole lake.
Questions we hear
Do we have to replace HDFS? No. They run together, and many estates keep both.
Does Ozone use the same security? Cloudera says it sits under the same security and governance policies as HDFS, and Ranger covers Ozone buckets. See Apache Ranger policy design.
To move a workload, see HDFS to Ozone migration steps. The service page is Apache Ozone on Cloudera, and the worked example a small-files workload. HBase teams should read Apache HBase on Cloudera before changing storage under it.
A first engagement
Duczer East offers a storage fit assessment: we profile your HDFS files, pick the datasets where Ozone pays off, run a copy test and hand back a plan with a go or no-go for each dataset.




