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:
| Topic | What the documentation says | What to check on your cluster |
|---|---|---|
| Endpoint | The gateway runs as its own service. The default address in the documentation is port 9878 | The host names and port your administrators expose, and whether a load balancer sits in front |
| Where buckets live | S3 buckets are stored under the s3v volume | How your existing buckets map, and who owns the volume |
| Addressing | Path-style URLs are the default. Virtual-host style needs a domain setting on the gateway | Whether your SDK and DNS are set for path-style |
| Exposing other buckets | A bucket outside s3v is reached by creating a symbolic link to it inside s3v | Which existing buckets should be visible, and to whom |
| Scale | Run more than one gateway behind a load balancer for availability | Capacity 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:
| Feature | Status in the documentation | Impact |
|---|---|---|
| Bucket versioning | Not supported | You cannot rely on S3 versioning for recovery. Use snapshots or copies |
| Object lock | Not supported | No write-once retention through S3 settings |
| Server-side encryption (S3 style) | Not supported through the S3 settings | Use Ozone encrypted buckets with a key management service instead |
| S3 Select | Not supported | Move filtering into the query engine |
| S3 ACLs, bucket policies, CORS, website hosting | Not fully implemented | Use Ozone and Ranger permissions |
| Lifecycle rules, replication, event notifications | Listed as planned | Do 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
- List the S3 calls your applications make, using their logs or SDK settings.
- Compare them with the supported list above.
- Run the application against a test bucket through the gateway with the real client version.
- Test large objects and multipart uploads, failure and retry.
- Confirm permissions in Ranger deny what you expect.
- 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.



