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

Apache Ozone S3-compatible access: gateway, clients, auth and limits

The gateway, the clients, the credentials and the limits

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: Private AI & Data Architecture
On this page
  1. S3 gateway
  2. Clients
  3. Auth
  4. Limits
  5. Performance and capacity
  6. A short test plan

Apache Ozone exposes an S3-compatible API through a separate S3 Gateway service, so applications written for Amazon S3 can read and write data that stays in your own data center. Point the client at the gateway endpoint, use an access key and secret issued by Ozone, and check the list of unsupported S3 features before you move a workload.

S3 gateway

The S3 Gateway is a component that translates S3 requests into Ozone operations. The Apache Ozone S3 documentation describes the main points:

TopicWhat the documentation saysWhat to check on your cluster
EndpointThe gateway runs as its own service. The default address in the documentation is port 9878The host names and port your administrators expose, and whether a load balancer sits in front
Where buckets liveS3 buckets are stored under the s3v volumeHow your existing buckets map, and who owns the volume
AddressingPath-style URLs are the default. Virtual-host style needs a domain setting on the gatewayWhether your SDK and DNS are set for path-style
Exposing other bucketsA bucket outside s3v is reached by creating a symbolic link to it inside s3vWhich existing buckets should be visible, and to whom
ScaleRun more than one gateway behind a load balancer for availabilityCapacity and health checks

On Cloudera, the gateway is managed as a role, and Cloudera's own documentation covers its settings for your release. Treat the Apache pages as the reference for behaviour, and the Cloudera pages for how you configure it.

Clients

Any client that speaks the S3 protocol should work for the supported operations. The Apache documentation lists the AWS command line tools, with minimum versions, so check the page for the current numbers before you roll them out. Typical clients:

  • AWS command line and SDKs for Python, Java and others, with the endpoint set to the gateway.
  • Hadoop's s3a connector, which lets Spark, Hive and Impala read buckets over S3. Ozone also has its own ofs file system path for Hadoop tools; see Ozone vs HDFS for when to use which.
  • Backup and data movement tools that accept a custom S3 endpoint.
  • Applications that use a custom endpoint setting, which most S3 libraries offer.

A quick test: create a bucket and write a small object with the AWS command line, using the gateway as the endpoint. Then list it back, delete it and confirm the audit entry. That proves network path, credentials and permissions in a few minutes.

Auth

On a secured cluster, a user first authenticates with Kerberos, then asks Ozone for an S3 access key and secret with the getsecret command. The Apache documentation says that since Ozone 1.4.0 the secret is shown only once, and a lost secret must be revoked and issued again. Cloudera's page on S3 credentials describes the same step for its release.

  • Treat the secret like a Kerberos password. Cloudera's documentation notes these credentials give complete access to the user's Ozone buckets.
  • Issue them to a service account for each application, not to a person's account.
  • Store them in a vault, never in code or in a notebook.
  • Authorisation is then decided by Ozone's permission model, which on Cloudera is usually Apache Ranger. See Ranger policy design.
  • See the Ozone security checklist for the wider list.

If security is disabled on a test cluster, any key and secret are accepted. Do not copy that setup into production.

Limits

Ozone is S3-compatible, not a copy of Amazon S3. The Apache documentation lists what works and what does not. As of our check, it lists these as supported: bucket create, list and delete; object get, put, copy and delete; listing; tagging; multipart upload; and presigned URLs. It lists these as unsupported or limited:

FeatureStatus in the documentationImpact
Bucket versioningNot supportedYou cannot rely on S3 versioning for recovery. Use snapshots or copies
Object lockNot supportedNo write-once retention through S3 settings
Server-side encryption (S3 style)Not supported through the S3 settingsUse Ozone encrypted buckets with a key management service instead
S3 SelectNot supportedMove filtering into the query engine
S3 ACLs, bucket policies, CORS, website hostingNot fully implementedUse Ozone and Ranger permissions
Lifecycle rules, replication, event notificationsListed as plannedDo not design around them

Behaviour can differ in small ways, such as error bodies and ACL handling. Run your application's test suite against the gateway, not only a smoke test. The documentation also says unfinished multipart uploads are cleaned up after a fixed period, so a long upload that pauses may need checking.

Performance and capacity

S3 traffic goes through the gateway, so the gateway is part of your capacity plan. Run more than one instance for availability, and put a load balancer in front that checks health. Large objects use multipart uploads, so test with the file sizes you really use and with concurrent clients, not a single upload. Compare latency and throughput with your current storage, and note that small objects are dominated by request overhead, not bandwidth.

Applications that were written for a public cloud sometimes assume very high request rates or particular error behaviour. Test the retry settings in the SDK against the gateway, and make sure a failed request is retried safely.

A short test plan

  1. List the S3 calls your applications make, using their logs or SDK settings.
  2. Compare them with the supported list above.
  3. Run the application against a test bucket through the gateway with the real client version.
  4. Test large objects and multipart uploads, failure and retry.
  5. Confirm permissions in Ranger deny what you expect.
  6. Record latency and throughput, then compare with your target.

For storage design, read sizing and erasure coding, and for a full migration HDFS to Ozone migration steps. Apache Ozone on Cloudera describes how Duczer East helps.

Frequently asked questions

Is Apache Ozone compatible with the S3 API?

Yes, through a separate S3 Gateway service. It supports the common bucket and object operations, but not every S3 feature.

How do clients authenticate to the Ozone S3 Gateway?

On a secured cluster, the user authenticates with Kerberos and obtains an access key and secret with the getsecret command. Use service accounts for applications.

Does Ozone support S3 versioning?

The Apache documentation lists bucket versioning as not supported. Plan recovery with snapshots or copies.

Which clients work with Ozone S3?

AWS command line tools and SDKs, Hadoop's s3a connector and any tool that accepts a custom S3 endpoint. Check minimum client versions in the documentation.

Do Spark and Hive need S3 to use Ozone?

No. They can use Ozone's own file system interface. S3 suits applications written for S3.

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