Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideCloudera / Data Services & AI6 min read

Ozone vs HDFS: design differences, small files, density and when to move

Run them side by side and move the workloads that gain

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: Private AI & Data Architecture
On this page
  1. Design differences
  2. Small files
  3. Density and scale
  4. Bucket layouts and access paths
  5. Data protection: replication or erasure coding
  6. Decision table
  7. How to run a fit test
  8. Questions we hear
  9. A first engagement

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:

LayoutNamespaceAccessUse for
File system optimized (FSO)Hierarchical directories and files, like HDFSS3, ofs and o3fs (o3fs is deprecated)Hive, Spark and Impala data that uses directories and renames
Object store (OBS)Flat keys, like Amazon S3S3 onlyS3-style applications that do not rename directories
LegacyBuckets that existed before an upgradeKept working as beforeExisting 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.

SchemeDisk for 6 blocks of dataThink about
Ratis three-way replication18 blocksSimple, and the default
Erasure coding, 6 data plus 3 parity9 blocksNeeds enough DataNodes for the stripe, and a plan for small files

Decision table

SituationStay on HDFSConsider Ozone
Mostly large files, stableYesNot needed
Many small files straining the NameNodeNoYes
Applications written for S3, data must stay on premisesNoYes, through the S3 gateway
Need very dense nodesLimitedYes
Workload relies on file append or concatenationYesCheck 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

  1. Profile HDFS: file count, size bands and NameNode memory use for each dataset.
  2. List the applications on each dataset and whether any rely on append or concatenation.
  3. Pick one dataset where small files hurt, and copy it to an FSO bucket.
  4. Run its real jobs on both copies and compare runtime and cluster load.
  5. 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.

Frequently asked questions

What is the main difference between Ozone and HDFS?

HDFS keeps its namespace in one NameNode and suits mostly large files. Ozone is an object store designed to manage small and large files, with S3 and Hadoop-compatible access.

How much more data can an Ozone node hold?

Cloudera documents up to 400 TB per Ozone DataNode, compared with 100 TB for HDFS.

Do we need to replace HDFS with Ozone?

No. They can run side by side under the same security and governance. Move workloads that gain.

Which bucket layout should we use?

File system optimized for Hive, Spark and Impala workloads that use directories, and object store for applications written for S3.

What is the difference between FSO and OBS buckets?

FSO gives a hierarchical namespace like HDFS and works over S3, ofs and o3fs. OBS is a flat key-value layout reached through S3 only.

Does Ozone support erasure coding?

Yes. Cloudera describes it as similar durability to three-way replication with about 50 percent overhead instead of 200 percent, and recommends applying it at the bucket level.

How dense can Ozone DataNodes be?

Cloudera documents up to 400 TB per Ozone DataNode against 100 TB for HDFS.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote