<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Apache Ozone Blog</title>
        <link>https://ozone.apache.org/blog</link>
        <description>Apache Ozone Blog</description>
        <lastBuildDate>Tue, 01 Sep 2026 00:00:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <item>
            <title><![CDATA[Distributed Tracing in Apache Ozone: Demystifying Performance Bottlenecks]]></title>
            <link>https://ozone.apache.org/blog/2026/09/01/distributed-tracing-opentelemetry</link>
            <guid>https://ozone.apache.org/blog/2026/09/01/distributed-tracing-opentelemetry</guid>
            <pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[If you have ever stared at a wall of logs trying to figure out why a single request took ten seconds, you know the struggle: each service tells its own story, but none of them show you the full journey.]]></description>
            <content:encoded><![CDATA[<p>If you have ever stared at a wall of logs trying to figure out why a single request took ten seconds, you know the struggle: each service tells its own story, but none of them show you the full journey.</p>
<p>Apache Ozone is a distributed system by design. A single request can touch the Ozone Manager (OM), Storage Container Manager (SCM), and multiple Datanodes. When things slow down, metrics might tell you something is wrong but they rarely show the full path. The logs might tell you where something complained, but they're hard to interpret.</p>
<p>Distributed tracing changes that. It maps the end-to-end path of a request with timing for every hop. Ozone now exports these paths using <a href="https://opentelemetry.io/" target="_blank" rel="noopener noreferrer" class="">OpenTelemetry</a> over OTLP, so you can pull them into tools like <a href="https://jaegertracing.io/" target="_blank" rel="noopener noreferrer" class="">Jaeger</a> and actually see what happened.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="the-problem-tracing-solves">The Problem Tracing Solves<a href="https://ozone.apache.org/blog/2026/09/01/distributed-tracing-opentelemetry#the-problem-tracing-solves" class="hash-link" aria-label="Direct link to The Problem Tracing Solves" title="Direct link to The Problem Tracing Solves" translate="no">​</a></h2>
<p>Picture a slow write. Was OM stuck on metadata? SCM slow to allocate a block? Or a Datanode lagging on chunk I/O? Without tracing, you're correlating timestamps across four different log files.</p>
<p>Ozone's stack is layered — OM for metadata, SCM for blocks, Datanodes for the actual writes — so the bottleneck could be anywhere. Tracing lays out the whole write as a single timeline so you can see exactly where it slowed down.</p>
<p><img decoding="async" loading="lazy" alt="Opentelemetry in Ozone" src="https://ozone.apache.org/assets/images/opentelemetry_architecture-38f8a8c0889d232750fda2963ab5ff00.png" width="1774" height="887" class="img_xxiv"></p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="how-it-works">How It Works<a href="https://ozone.apache.org/blog/2026/09/01/distributed-tracing-opentelemetry#how-it-works" class="hash-link" aria-label="Direct link to How It Works" title="Direct link to How It Works" translate="no">​</a></h2>
<p>Ozone instruments tracing in its core services through the OpenTelemetry SDK. Trace context propagates across network boundaries, so a client request and the downstream work stay linked in one trace. Traces are exported over OTLP/gRPC (port 4317 by default) to your preferred collector, like Jaeger.</p>
<p><img decoding="async" loading="lazy" alt="Opentelemetry Capabilities" src="https://ozone.apache.org/assets/images/opentelemetry_capabilities-a7a06c2ca65e302c8e09f7b760e39cc8.png" width="1024" height="572" class="img_xxiv"></p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="turning-it-on">Turning It On<a href="https://ozone.apache.org/blog/2026/09/01/distributed-tracing-opentelemetry#turning-it-on" class="hash-link" aria-label="Direct link to Turning It On" title="Direct link to Turning It On" translate="no">​</a></h2>
<p>Tracing is off by default, so the first step is enabling it in <code>ozone-site.xml</code>:</p>
<div class="language-xml codeBlockContainer_u_cv theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_v1q3"><pre tabindex="0" class="prism-code language-xml codeBlock_hAju thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wyJo"><div class="token-line" style="color:#393A34"><span class="token tag punctuation" style="color:#393A34">&lt;</span><span class="token tag" style="color:#00009f">property</span><span class="token tag punctuation" style="color:#393A34">&gt;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token tag punctuation" style="color:#393A34">&lt;</span><span class="token tag" style="color:#00009f">name</span><span class="token tag punctuation" style="color:#393A34">&gt;</span><span class="token plain">ozone.tracing.enabled</span><span class="token tag punctuation" style="color:#393A34">&lt;/</span><span class="token tag" style="color:#00009f">name</span><span class="token tag punctuation" style="color:#393A34">&gt;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token tag punctuation" style="color:#393A34">&lt;</span><span class="token tag" style="color:#00009f">value</span><span class="token tag punctuation" style="color:#393A34">&gt;</span><span class="token plain">true</span><span class="token tag punctuation" style="color:#393A34">&lt;/</span><span class="token tag" style="color:#00009f">value</span><span class="token tag punctuation" style="color:#393A34">&gt;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token tag punctuation" style="color:#393A34">&lt;/</span><span class="token tag" style="color:#00009f">property</span><span class="token tag punctuation" style="color:#393A34">&gt;</span><br></div></code></pre></div></div>
<p>Next, tell Ozone where to send traces. You can set <code>ozone.tracing.endpoint</code> in <code>ozone-site.xml</code>, or use the <code>OTEL_EXPORTER_OTLP_ENDPOINT</code> environment variable on each service. If you use both, the <code>ozone-site.xml</code> value takes priority.</p>
<p>With that in place, generate some traffic — Freon is a simple option — and open Jaeger. If you see spans for services like <code>OzoneManager</code> or <code>freon</code>, tracing is working.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="keeping-the-noise-down">Keeping the Noise Down<a href="https://ozone.apache.org/blog/2026/09/01/distributed-tracing-opentelemetry#keeping-the-noise-down" class="hash-link" aria-label="Direct link to Keeping the Noise Down" title="Direct link to Keeping the Noise Down" translate="no">​</a></h2>
<p>On a busy cluster, tracing every request can add overhead and flood your collector. Ozone gives you two levels of control.</p>
<p><strong>Global sampling</strong> sets the overall rate — for example, <code>0.01</code> traces 1% of requests. That's usually enough for day-to-day monitoring without much cost.</p>
<p><strong>Span-level sampling</strong> lets you go deeper on specific operations. You can always capture spans you care about, like <code>CommitKey</code> or <code>WriteChunk</code>, even when global sampling is low. That way you get broad coverage when you want it, and full detail exactly where you need it.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="tuning-without-a-restart">Tuning Without a Restart<a href="https://ozone.apache.org/blog/2026/09/01/distributed-tracing-opentelemetry#tuning-without-a-restart" class="hash-link" aria-label="Direct link to Tuning Without a Restart" title="Direct link to Tuning Without a Restart" translate="no">​</a></h2>
<p>On Ozone Manager, SCM, and Datanodes, you can change tracing configs at runtime — no restart needed:</p>
<ul>
<li class=""><code>ozone.tracing.enabled</code></li>
<li class=""><code>ozone.tracing.endpoint</code></li>
<li class=""><code>ozone.tracing.sampler</code></li>
<li class=""><code>ozone.tracing.span.sampling</code></li>
<li class=""><code>ozone.tracing.client.application-aware</code></li>
</ul>
<p>That means you can flip tracing on during an incident, bump sampling to catch slow requests, then turn it back off.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="application-aware-client-tracing">Application-Aware Client Tracing<a href="https://ozone.apache.org/blog/2026/09/01/distributed-tracing-opentelemetry#application-aware-client-tracing" class="hash-link" aria-label="Direct link to Application-Aware Client Tracing" title="Direct link to Application-Aware Client Tracing" translate="no">​</a></h2>
<p>Most tracing examples start inside Ozone — Freon, the shell, the S3 Gateway. In real deployments, something else is usually on top.</p>
<p><a href="https://hbase.apache.org/" target="_blank" rel="noopener noreferrer" class="">HBase</a> stores its data on Ozone through <code>ofs://</code>, and when a table creation is slow, you want the trace to start there — not halfway down the stack.</p>
<p>Application-aware client tracing handles that. When it's on, Ozone doesn't start its own trace. It adds its work as steps inside whatever trace the application already has running.</p>
<p>Here's an example with HBase on Ozone. Running <code>create 'trace_test', 'cf'</code> produced one trace for the whole operation — about 120ms, across HBase, Ozone Manager, SCM, and Datanodes.</p>
<p><img decoding="async" loading="lazy" alt="HBase CreateTableProcedure trace spanning HBase, OM, and SCM" src="https://ozone.apache.org/assets/images/hbase_trace-61a467ac0fe01c7a92e2945f4860ce34.png" width="3395" height="1680" class="img_xxiv"></p>
<p>You can follow it from <code>CreateTableProcedure</code> on the HBase master, through the WAL sync and into Ozone's file creation and block writes.</p>
<p>Open the step you want to see where storage time actually went — without jumping between HBase and Ozone logs trying to match things up.</p>
<p><img decoding="async" loading="lazy" alt="HBase WAL sync trace showing Ozone client and Datanode spans" src="https://ozone.apache.org/assets/images/hbase_flamegraph-5c411896027c046ab7ae919d82deb590.png" width="3402" height="1693" class="img_xxiv"></p>
<p><strong>To get this working:</strong></p>
<ol>
<li class="">
<p><a href="https://ozone.apache.org/docs/user-guide/integrations/hbase" target="_blank" rel="noopener noreferrer" class="">Configure HBase to store data on Ozone</a>.</p>
</li>
<li class="">
<p>Bump up OpenTelemetry version in HBase so it can emit spans and share trace context with Ozone.</p>
</li>
<li class="">
<p>Enable tracing on HBase following these configurations:</p>
<div class="language-yaml codeBlockContainer_u_cv theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_v1q3"><pre tabindex="0" class="prism-code language-yaml codeBlock_hAju thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wyJo"><div class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">HBASE_OTEL_TRACING_ENABLED</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"true"</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">OTEL_TRACES_EXPORTER</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> otlp</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">OTEL_EXPORTER_OTLP_PROTOCOL</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> grpc</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">OTEL_EXPORTER_OTLP_ENDPOINT</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> http</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain">//jaeger</span><span class="token punctuation" style="color:#393A34">:</span><span class="token number" style="color:#36acaa">4317</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">OTEL_METRICS_EXPORTER</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> none</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">OTEL_LOGS_EXPORTER</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> none</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">OTEL_TRACES_SAMPLER</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> always_on</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">HBASE_MASTER_OPTS</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"-Dotel.resource.attributes=service.name=hbase-master"</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">HBASE_REGIONSERVER_OPTS</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"-Dotel.resource.attributes=service.name=hbase-regionserver"</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">HBASE_SHELL_OPTS</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"-Dotel.resource.attributes=service.name=hbase-shell"</span><br></div></code></pre></div></div>
</li>
<li class="">
<p>On Ozone, keep <code>ozone.tracing.client.application-aware=true</code> (the default).</p>
</li>
</ol>
<p>That's it — one trace, one view, from HBase down to the Datanodes.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="why-bother">Why Bother?<a href="https://ozone.apache.org/blog/2026/09/01/distributed-tracing-opentelemetry#why-bother" class="hash-link" aria-label="Direct link to Why Bother?" title="Direct link to Why Bother?" translate="no">​</a></h2>
<p>Distributed tracing pays off the first time it saves you from a multi-service log hunt. It doesn't replace metrics or Recon — it fills the gap between "this metric looks bad" and "this specific RPC on this path is why."</p>
<p>Distributed tracing makes the invisible visible. For a system as complex as Ozone, that is the difference between debugging and guessing.</p>
<p>If you want to go deeper, check out <a href="https://issues.apache.org/jira/browse/HDDS-13679" target="_blank" rel="noopener noreferrer" class="">HDDS-13679</a> and the <a href="https://ozone.apache.org/docs/next/administrator-guide/operations/observability/distributed-tracing" target="_blank" rel="noopener noreferrer" class="">distributed tracing documentation</a>. Enable it on a dev cluster, play with the sampling, and see what your execution paths look like under the hood.</p>]]></content:encoded>
            <category>Ozone</category>
            <category>Distributed Tracing</category>
            <category>OpenTelemetry</category>
            <category>Observability</category>
        </item>
        <item>
            <title><![CDATA[Fast Optimistic Concurrency Control with Apache Ozone S3 Conditional Requests]]></title>
            <link>https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request</link>
            <guid>https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request</guid>
            <pubDate>Wed, 08 Jul 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Apache Ozone will support conditional PutObject, GetObject, HeadObject, CopyObject, and CompleteMultipartUpload in the upcoming 2.2 release (RC0 is currently under a vote), and will add conditional DeleteObject and DeleteObjects support in 2.3.]]></description>
            <content:encoded><![CDATA[<div class="theme-admonition theme-admonition-note admonition_KWNG alert alert--secondary"><div class="admonitionHeading_KbNW"><span class="admonitionIcon_mAjL"><svg viewBox="0 0 14 16"><path fill-rule="evenodd" d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"></path></svg></span>note</div><div class="admonitionContent_oTFZ"><p>Apache Ozone will support conditional <code>PutObject</code>, <code>GetObject</code>, <code>HeadObject</code>, <code>CopyObject</code>, and <code>CompleteMultipartUpload</code> in the upcoming <a href="https://github.com/apache/ozone/releases/tag/ozone-2.2.0-RC0" target="_blank" rel="noopener noreferrer" class="">2.2 release</a> (RC0 is currently under a <a href="https://lists.apache.org/thread/gz567ljydh4ht63h6c9pjfclrbrrr9z7" target="_blank" rel="noopener noreferrer" class="">vote</a>), and will add conditional <code>DeleteObject</code> and <code>DeleteObjects</code> support in 2.3.</p></div></div>
<p>An increasing number of database systems are moving storage to S3 in shared-everything architectures to reduce cost, dependencies, and operational complexity. In the Hadoop 🐘 era, we typically used ZooKeeper and HDFS as the control plane and data plane. Modern systems are moving the control plane to self-managed consensus groups or RDBMS-backed catalogs, while moving the data plane onto AWS S3 or S3-compatible storage.</p>
<p>Shared-everything systems usually have two pain points: communication overhead and coordination. To reduce write latency, systems often use inline data writes, background flush, and LSN-based union reads. To reduce read latency, they add multi-layer caches, such as self-managed or OS-managed in-memory caches and on-disk caches. Coordination is harder: multiple clients may read the same metadata, make decisions locally, and then try to update the same object. Without a storage-level compare-and-set primitive, applications often need an external lock service, catalog database, or consensus system just to avoid lost updates.</p>
<p>Because Apache Ozone exposes S3, HCFS, HttpFS, and Java APIs as part of its multi-protocol story, conditional requests have become increasingly important. This work is now nearly complete.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="tldr">TL;DR<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#tldr" class="hash-link" aria-label="Direct link to TL;DR" title="Direct link to TL;DR" translate="no">​</a></h2>
<p>Apache Ozone is adding S3 conditional request support for operations such as <code>PutObject</code>, <code>GetObject</code>, <code>HeadObject</code>, <code>CopyObject</code>, <code>DeleteObject</code>, and <code>CompleteMultipartUpload</code>. This allows applications to perform an operation only when the object state matches expected conditions, such as “create this object only if it does not already exist” or “overwrite this object only if the current ETag still matches.”</p>
<p>Under the hood, Ozone reuses its atomic rewrite path. For conditional writes, the S3 Gateway passes the caller’s expected ETag to Ozone Manager (OM). OM validates it near the metadata write path, stores the matched generation in the open key, and revalidates it during commit. This keeps the ETag check close to the place where the object state changes, so Ozone can provide a distributed CAS-style primitive without adding an extra gateway-side metadata read on the successful path.</p>
<p>This unlocks safer optimistic concurrency control for data systems built on top of object storage, including metadata catalogs, WAL-like workflows, leader-election patterns, queues, model-serving caches, and object-store-backed databases.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="what-is-an-s3-conditional-request">What is an S3 conditional request?<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#what-is-an-s3-conditional-request" class="hash-link" aria-label="Direct link to What is an S3 conditional request?" title="Direct link to What is an S3 conditional request?" translate="no">​</a></h2>
<div class="theme-admonition theme-admonition-note admonition_KWNG alert alert--secondary"><div class="admonitionHeading_KbNW"><span class="admonitionIcon_mAjL"><svg viewBox="0 0 14 16"><path fill-rule="evenodd" d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"></path></svg></span>note</div><div class="admonitionContent_oTFZ"><p>You can use conditional requests to add preconditions to your S3 operations. To use conditional requests, you add an additional header to your Amazon S3 API operation. This header specifies a condition that, if not met, will result in the S3 operation failing.</p><p>Source: <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html" target="_blank" rel="noopener noreferrer" class="">Amazon S3 conditional requests</a></p></div></div>
<p>Conditional requests allow atomic CAS operations on target objects: clients can coordinate through S3 objects instead of relying on external arbiters. Using S3 conditional requests is like moving part of the coordination logic into storage.</p>
<p>AWS also noted that conditional requests <a href="https://www.allthingsdistributed.com/2025/03/in-s3-simplicity-is-table-stakes.html#:~:text=When%20we%20moved%20S3%20to,similar%20reaction" target="_blank" rel="noopener noreferrer" class="">let customers remove workaround code and simplify their systems</a>. The same storage-level feature also <a href="https://www.allthingsdistributed.com/2025/03/in-s3-simplicity-is-table-stakes.html#:~:text=they%20involve%20a%20complex,storage%2Dlevel%20features" target="_blank" rel="noopener noreferrer" class="">powers S3 Tables</a>, which manages tabular data on S3.</p>
<p>Common conditional request patterns include:</p>
<ul>
<li class=""><strong>Conditional <code>PUT</code></strong>
<ul>
<li class="">Use <code>If-None-Match: *</code> to create an object only if it does not already exist.</li>
<li class="">Use <code>If-Match: &lt;etag&gt;</code> to overwrite an object only if the current ETag is still the one the client observed.</li>
<li class="">Use case: metadata commits, manifest updates, distributed lock files, and create-only log chunks.</li>
</ul>
</li>
<li class=""><strong>Conditional <code>GET</code></strong>
<ul>
<li class="">Use <code>If-None-Match: &lt;etag&gt;</code> or date-based conditions to download the object only when it has changed.</li>
<li class="">Use case: cache validation, dynamic model reloading, config refresh, and avoiding repeated downloads of large objects.</li>
</ul>
</li>
<li class=""><strong>Conditional <code>HEAD</code></strong>
<ul>
<li class="">Same idea as conditional <code>GET</code>, but metadata-only.</li>
<li class="">Use case: checking whether an object is still current without fetching the body.</li>
</ul>
</li>
<li class=""><strong>Conditional <code>POST</code> / <code>CompleteMultipartUpload</code></strong>
<ul>
<li class="">Multipart upload writes data in parts, but the destination object becomes visible only when <code>CompleteMultipartUpload</code> succeeds.</li>
<li class="">Conditional completion lets the client say: “complete this large object only if the destination still does not exist” or “only if the destination still matches this ETag.”</li>
<li class="">Use case: large object writes where the final commit still needs create-only or compare-and-swap semantics.</li>
</ul>
</li>
<li class=""><strong>Conditional <code>COPY</code></strong>
<ul>
<li class="">Source-side conditions make sure the source object is the version the client expects.</li>
<li class="">Destination-side conditions make sure the copy does not overwrite unexpected data.</li>
<li class="">Use case: snapshot promotion, clone/copy workflows, and metadata copy where both source and destination need validation.</li>
</ul>
</li>
<li class=""><strong>Conditional <code>DELETE</code></strong>
<ul>
<li class="">Use <code>If-Match: &lt;etag&gt;</code> to delete only if the object is still unchanged.</li>
<li class="">Use <code>If-Match: *</code> to delete only if the object exists.</li>
<li class="">Use case: preventing a client from deleting an object that another writer has already replaced.</li>
</ul>
</li>
</ul>
<p>To see this in practice, let’s look at how modern systems use these APIs.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="application-use-cases">Application use cases<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#application-use-cases" class="hash-link" aria-label="Direct link to Application use cases" title="Direct link to Application use cases" translate="no">​</a></h2>
<p>Who is this for?</p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="dynamic-ai-model-reloading">Dynamic AI model reloading<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#dynamic-ai-model-reloading" class="hash-link" aria-label="Direct link to Dynamic AI model reloading" title="Direct link to Dynamic AI model reloading" translate="no">​</a></h3>
<p>Advanced inference servers often cache massive model weights on local NVMe drives. To keep these models updated without constantly re-downloading them every few minutes, they can use S3 conditional requests. For example, the inference server can send a <code>GET</code> request with <code>If-None-Match</code> and the ETag of the model it already has.</p>
<p>If the ETag still matches, Ozone can return <code>304 Not Modified</code>, so the server keeps using the local cached model and skips the download. If the ETag does not match, the model has been updated, so the server downloads the newest model and stores the new ETag for the next check. Thanks to <a href="https://github.com/amaliujia" target="_blank" rel="noopener noreferrer" class="">@amaliujia</a> for the example.</p>
<p><img decoding="async" loading="lazy" alt="Dynamic model reloading with S3 ETag validation" src="https://ozone.apache.org/assets/images/model-reload-0ac1f0d6cfaf6d71da45a08317ea8560.png" width="1821" height="2048" class="img_xxiv"></p>
<p><em>Figure 1. An inference server uses <code>If-None-Match</code> to avoid re-downloading unchanged model weights.</em></p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="turbopuffer">Turbopuffer<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#turbopuffer" class="hash-link" aria-label="Direct link to Turbopuffer" title="Direct link to Turbopuffer" translate="no">​</a></h3>
<p>Turbopuffer’s object-storage queue is a great example of using a small metadata object to coordinate larger data work. In the simple version, a pusher reads <code>queue.json</code>, appends a job, and writes it back with CAS. A worker does the same thing to claim the next job. The CAS write only succeeds if <code>queue.json</code> has not changed since the client read it; otherwise the client reads the new queue and retries.</p>
<p>This design is simple, but many clients can contend on one queue object. Turbopuffer improves it by batching updates with group commit, then moving the object-storage interaction behind a stateless broker. Clients talk to the broker, the broker performs one group-commit loop, and it only acknowledges work after the updated queue is durably committed.</p>
<p><img decoding="async" loading="lazy" alt="Object-storage queue coordinated through compare-and-swap updates" src="https://ozone.apache.org/assets/images/object-queue-67ca82cff7a9087a818c7b36ab7b46e9.png" width="1476" height="894" class="img_xxiv"></p>
<p><em>Figure 2. Turbopuffer’s object-storage queue batches contended CAS updates behind a broker. Source: <a href="https://turbopuffer.com/blog/object-storage-queue" target="_blank" rel="noopener noreferrer" class="">Turbopuffer object storage queue</a>.</em></p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="slatedb">SlateDB<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#slatedb" class="hash-link" aria-label="Direct link to SlateDB" title="Direct link to SlateDB" translate="no">​</a></h3>
<p>SlateDB is an embedded LSM-tree storage engine built for object storage. It stores durable state as object-store files: WAL SSTs, compacted SSTs, and manifest files. Like other LSM engines, it relies on immutable files for most data movement, but it still needs a safe coordination point to decide which writer owns the next part of the log.</p>
<p>Conditional object creation is useful here because SlateDB can use object names as fencing points. Instead of overwriting a shared file, the writer creates the next manifest or WAL object with <code>If-None-Match: *</code>. The write succeeds only if that object does not already exist.</p>
<p><img decoding="async" loading="lazy" alt="SlateDB writer claiming the next object with create-if-absent semantics" src="https://ozone.apache.org/assets/images/slatedb-writer-70589494e44a1e196368304cb372d58c.png" width="950" height="2048" class="img_xxiv"></p>
<p><em>Figure 3. A SlateDB writer uses conditional object creation as a fencing point for object-store state.</em></p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="iceberg-file-catalog">Iceberg file catalog<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#iceberg-file-catalog" class="hash-link" aria-label="Direct link to Iceberg file catalog" title="Direct link to Iceberg file catalog" translate="no">​</a></h3>
<p>Iceberg is another natural fit for this style of coordination. Iceberg table state is maintained in metadata files, and each commit creates a new metadata file. The commit succeeds by atomically swapping the table metadata pointer from the old metadata file to the new one. If another writer commits first, the swap fails, and the writer retries against the new table state.</p>
<p>For an Iceberg-style file catalog on object storage, conditional requests can provide the missing compare-and-swap primitive. The catalog can store a small pointer object, such as <code>current.json</code>, that points to the latest table metadata file. A writer first writes the new metadata file using a unique name, then updates the current metadata pointer only if its ETag still matches the ETag that the writer read.</p>
<p><img decoding="async" loading="lazy" alt="Iceberg catalog pointer update protected by ETag comparison" src="https://ozone.apache.org/assets/images/iceberg-catalog-17f88ef0821231fac4b8e15657d61d1e.png" width="2048" height="1990" class="img_xxiv"></p>
<p><em>Figure 4. An Iceberg-style file catalog updates a small metadata pointer only if its ETag still matches.</em></p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="leader-election">Leader election<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#leader-election" class="hash-link" aria-label="Direct link to Leader election" title="Direct link to Leader election" translate="no">​</a></h3>
<p>Leader election can also be built on top of conditional writes. The basic idea is to have all nodes compete to create the next lock file, such as <code>lock-0000000002.json</code>, using <code>If-None-Match: *</code>. Only one node can create the file successfully. That node becomes the leader for that epoch; the others receive a precondition failure and keep watching.</p>
<p><img decoding="async" loading="lazy" alt="Leader election through conditional lock-file creation" src="https://ozone.apache.org/assets/images/leader-election-8f6f0c15a77234e9ddb96853874210f7.png" width="2048" height="1182" class="img_xxiv"></p>
<p><em>Figure 5. Nodes compete to create the next epoch lock file; only one writer succeeds.</em></p>
<p>Leader election by itself is not enough. A paused old leader can come back and still believe it owns the lock. This is the “zombie leader” problem. The fix is to use the leader epoch as a fencing token. Every request made by the leader includes the epoch, and downstream systems reject requests with an older epoch than the highest one they have already seen.</p>
<p><img decoding="async" loading="lazy" alt="Fencing zombie leaders with monotonically increasing epochs" src="https://ozone.apache.org/assets/images/leader-fencing-a2a8b262b38d38579c6a24ea096e5ba9.png" width="1586" height="2048" class="img_xxiv"></p>
<p><em>Figure 6. Epoch fencing prevents an old paused leader from writing after a newer leader takes over.</em></p>
<p>The leader should periodically update the lock file it acquired to signal liveness. Other nodes can poll the lock and check whether the lock was released or expired by looking at <code>Last-Modified</code>, which S3 exposes as standard object metadata.</p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="wal-writes-and-reads-with-oswald">WAL Writes and Reads with OSWALD<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#wal-writes-and-reads-with-oswald" class="hash-link" aria-label="Direct link to WAL Writes and Reads with OSWALD" title="Direct link to WAL Writes and Reads with OSWALD" translate="no">​</a></h3>
<p>OSWALD, the Object Storage Write-Ahead Log Device, shows how to build a WAL directly on object storage primitives. The design has three object types: a manifest object, snapshots, and log chunks. The manifest tracks the latest checkpoint and garbage collection progress; chunks hold the log content.</p>
<p>Appending to the WAL can be done with conditional object creation. A writer creates the next chunk with <code>PUT If-None-Match</code>. If another writer already created that chunk for the same LSN, the write fails and the writer catches up by tailing the log. After creating a chunk, the writer also checks the manifest with <code>GET If-None-Match</code> to make sure garbage collection has not moved past its LSN before acknowledging the write.</p>
<p><img decoding="async" loading="lazy" alt="OSWALD write-ahead log built on manifest, snapshot, and chunk objects" src="https://ozone.apache.org/assets/images/oswald-wal-b8d85d5a05ec555aa8fd7de2840643db.png" width="1126" height="746" class="img_xxiv"></p>
<p><em>Figure 7. OSWALD uses manifest, snapshot, and chunk objects to build a WAL on object storage. Source: <a href="https://github.com/nvartolomei/oswald" target="_blank" rel="noopener noreferrer" class="">OSWALD</a>.</em></p>
<p>Now let’s look at how Ozone implements S3 conditional requests efficiently.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="technical-details">Technical details<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#technical-details" class="hash-link" aria-label="Direct link to Technical details" title="Direct link to Technical details" translate="no">​</a></h2>
<p>To keep performance overhead minimal—thanks to <a href="https://github.com/ivandika3" target="_blank" rel="noopener noreferrer" class="">Ivan</a>’s suggestion—we coalesce the “conditional flag” with the normal client-to-server RPC message, so no additional RPC round trip is introduced. This fits well with the optimistic concurrency path.</p>
<p>Before diving into that coalescing optimization, let’s look at Ozone’s atomic rewrite work, which is the foundation reused by S3 conditional requests.</p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="atomic-rewrite">Atomic rewrite<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#atomic-rewrite" class="hash-link" aria-label="Direct link to Atomic rewrite" title="Direct link to Atomic rewrite" translate="no">​</a></h3>
<p><img decoding="async" loading="lazy" alt="Atomic rewrite create and write phases" src="https://ozone.apache.org/assets/images/atomic-rewrite-create-fb40d4223489aa2c0bcd073e95409e18.png" width="2048" height="1730" class="img_xxiv"></p>
<p><em>Figure 8. Atomic rewrite create and write phases.</em></p>
<p>The client indicates the expected epoch of the target object in the key-creation request. After Ozone Manager receives the <code>createKey</code> request, it first compares the expected epoch with the live key in the key table. If they match, OM stores the expected epoch along with the open key record in the open key table.</p>
<p>At this stage, two clients can both successfully create an open key, so they can both start streaming file data to the Datanode pipeline. Once a client believes the file data write is finished, it starts committing the key.</p>
<div class="theme-admonition theme-admonition-note admonition_KWNG alert alert--secondary"><div class="admonitionHeading_KbNW"><span class="admonitionIcon_mAjL"><svg viewBox="0 0 14 16"><path fill-rule="evenodd" d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"></path></svg></span>note</div><div class="admonitionContent_oTFZ"><p>The client ID in <code>/vol1/bucket1/key1/{client_id}</code> is generated by Ozone Manager. It is a unique, non-human-readable ID that binds to a single key-creation lifecycle. It is not a persistent client ID. “Session ID” would probably be a better name, but the diagram uses a meaningful ID for clarity.</p></div></div>
<p>During the commit phase, Ozone Manager compares the expected epoch stored in the client’s open key record with the live key epoch in the key table in the same transaction. If they match, OM overwrites the live key with the open key. If they do not match, OM cleans up the open key table and returns an atomic rewrite failure for the concurrent conflict.</p>
<p><img decoding="async" loading="lazy" alt="Atomic rewrite commit phase" src="https://ozone.apache.org/assets/images/atomic-rewrite-commit-7af41ff448a4514057fa54b03b203c1b.png" width="2048" height="847" class="img_xxiv"></p>
<p><em>Figure 9. Atomic rewrite commit phase.</em></p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="coalescing-the-conditional-flag">Coalescing the conditional flag<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#coalescing-the-conditional-flag" class="hash-link" aria-label="Direct link to Coalescing the conditional flag" title="Direct link to Coalescing the conditional flag" translate="no">​</a></h3>
<p>In normal workloads, and especially under optimistic concurrency control, the successful path is expected to be common. Therefore, we validate the key’s ETag metadata at the same time as the key-creation request. Instead of introducing an additional request to fetch the latest key epoch and then plumbing that epoch into the atomic rewrite path, we extend atomic rewrite so it can recognize the expected ETag sent from S3 Gateway, validate it, translate it to an expected epoch, and store that epoch in the open key table. This lets the atomic rewrite commit path stay untouched.</p>
<blockquote>
<p>For more information, see the discussion in <a href="https://github.com/apache/ozone/pull/9334#discussion_r2558578333" target="_blank" rel="noopener noreferrer" class="">apache/ozone#9334</a>.</p>
</blockquote>
<p><img decoding="async" loading="lazy" alt="Coalescing S3 conditional headers into Ozone atomic rewrite metadata" src="https://ozone.apache.org/assets/images/conditional-flag-ed74491945e045237a2e8336a89ac625.png" width="2048" height="689" class="img_xxiv"></p>
<p><em>Figure 10. Coalescing the conditional flag into the normal Ozone write path.</em></p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="implementation-by-api">Implementation by API<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#implementation-by-api" class="hash-link" aria-label="Direct link to Implementation by API" title="Direct link to Implementation by API" translate="no">​</a></h3>
<p>The discussion, design, and patches are available in Apache Jira and GitHub:</p>
<ul>
<li class="">Epic ticket: <a href="https://issues.apache.org/jira/browse/HDDS-13117" target="_blank" rel="noopener noreferrer" class="">HDDS-13117</a></li>
<li class="">Design: <a href="https://github.com/apache/ozone/blob/master/hadoop-hdds/docs/content/design/s3-conditional-requests.md" target="_blank" rel="noopener noreferrer" class=""><code>s3-conditional-requests.md</code></a></li>
</ul>
<h4 class="anchor anchorTargetStickyNavbar_Dk4v" id="putobject">PutObject<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#putobject" class="hash-link" aria-label="Direct link to PutObject" title="Direct link to PutObject" translate="no">​</a></h4>
<p>Ozone Manager enforces conditional writes using a two-phase validation process, returning specific HTTP error codes depending on when a state mismatch is detected.</p>
<p>During the initial <code>createKey</code> request, if OM determines that the expected ETag already mismatches the current state of the key, it immediately rejects the request with <code>412 Precondition Failed</code>.</p>
<p>If the initial check passes but a concurrent modification occurs during the upload, OM detects the discrepancy during the <code>commitKey</code> phase. By comparing the expected epoch stored in the open session against the live key record in the key table, OM identifies the concurrent update and returns <code>409 Conflict</code>.</p>
<p>Related patches:</p>
<ul>
<li class=""><a href="https://github.com/apache/ozone/pull/10182" target="_blank" rel="noopener noreferrer" class="">apache/ozone#10182</a></li>
<li class=""><a href="https://github.com/apache/ozone/pull/10023" target="_blank" rel="noopener noreferrer" class="">apache/ozone#10023</a></li>
<li class=""><a href="https://github.com/apache/ozone/pull/9815" target="_blank" rel="noopener noreferrer" class="">apache/ozone#9815</a></li>
</ul>
<h5 class="anchor anchorTargetStickyNavbar_Dk4v" id="if-none-match"><code>If-None-Match</code><a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#if-none-match" class="hash-link" aria-label="Direct link to if-none-match" title="Direct link to if-none-match" translate="no">​</a></h5>
<p>We extend the existing atomic rewrite path to support the “generation must match <code>0</code>” condition, which matches GCS semantics. <code>If-None-Match: *</code> then reuses this create-if-absent path.</p>
<!-- -->
<p><em>Figure 11. <code>PUT If-None-Match</code> maps create-if-absent semantics to Ozone’s generation-match path.</em></p>
<h5 class="anchor anchorTargetStickyNavbar_Dk4v" id="if-match"><code>If-Match</code><a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#if-match" class="hash-link" aria-label="Direct link to if-match" title="Direct link to if-match" translate="no">​</a></h5>
<p>S3 Gateway carries the expected ETag along with the <code>createKey</code> request. OM compares it with the live key, translates it to the expected epoch recognized by atomic rewrite, and then reuses the existing commit path.</p>
<!-- -->
<p><em>Figure 12. <code>PUT If-Match</code> validates the ETag once, stores the matched epoch, and rechecks that epoch at commit time.</em></p>
<h4 class="anchor anchorTargetStickyNavbar_Dk4v" id="getobject--headobject">GetObject / HeadObject<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#getobject--headobject" class="hash-link" aria-label="Direct link to GetObject / HeadObject" title="Direct link to GetObject / HeadObject" translate="no">​</a></h4>
<p>For <code>GetObject</code> and <code>HeadObject</code>, S3 Gateway fetches key metadata from OM and evaluates the conditional headers against that metadata.</p>
<p>Related patch: <a href="https://github.com/apache/ozone/pull/10031" target="_blank" rel="noopener noreferrer" class="">apache/ozone#10031</a></p>
<!-- -->
<p><em>Figure 13. <code>GET</code> and <code>HEAD</code> evaluate conditional headers after retrieving object metadata from OM.</em></p>
<h4 class="anchor anchorTargetStickyNavbar_Dk4v" id="copyobject">CopyObject<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#copyobject" class="hash-link" aria-label="Direct link to CopyObject" title="Direct link to CopyObject" translate="no">​</a></h4>
<p><code>CopyObject</code> is effectively <code>GetObject</code> plus <code>PutObject</code>, because it must enforce conditional logic on both the source and destination. During the source phase, the gateway resolves the source object metadata and evaluates preconditions against that snapshot before streaming the data. In the destination phase, the gateway performs a conditional write to the destination, reusing the atomic write APIs introduced for <code>PutObject</code>.</p>
<p>Related patch: <a href="https://github.com/apache/ozone/pull/10207" target="_blank" rel="noopener noreferrer" class="">apache/ozone#10207</a>. Thanks <a href="https://github.com/YutaLin" target="_blank" rel="noopener noreferrer" class="">@YutaLin</a>.</p>
<!-- -->
<p><em>Figure 14. <code>CopyObject</code> checks source preconditions first, then reuses conditional destination writes.</em></p>
<h4 class="anchor anchorTargetStickyNavbar_Dk4v" id="completemultipartupload">CompleteMultipartUpload<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#completemultipartupload" class="hash-link" aria-label="Direct link to CompleteMultipartUpload" title="Direct link to CompleteMultipartUpload" translate="no">​</a></h4>
<p><code>CompleteMultipartUpload</code> compares the caller’s expected ETag or create-if-absent condition with the committed key state.</p>
<p>Related patch: <a href="https://github.com/apache/ozone/pull/10164" target="_blank" rel="noopener noreferrer" class="">apache/ozone#10164</a>. Thanks <a href="https://github.com/YutaLin" target="_blank" rel="noopener noreferrer" class="">@YutaLin</a>.</p>
<!-- -->
<p><em>Figure 15. Conditional <code>CompleteMultipartUpload</code> validates the destination state before publishing the completed object.</em></p>
<h4 class="anchor anchorTargetStickyNavbar_Dk4v" id="deleteobject">DeleteObject<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#deleteobject" class="hash-link" aria-label="Direct link to DeleteObject" title="Direct link to DeleteObject" translate="no">​</a></h4>
<p><code>DeleteObject</code> compares the caller’s expected ETag with the committed key state before writing the delete tombstone.</p>
<p>Related patch: <a href="https://github.com/apache/ozone/pull/10511" target="_blank" rel="noopener noreferrer" class="">apache/ozone#10511</a></p>
<!-- -->
<p><em>Figure 16. Conditional <code>DeleteObject</code> deletes only when the current object still matches the expected ETag.</em></p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="benchmark">Benchmark<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#benchmark" class="hash-link" aria-label="Direct link to Benchmark" title="Direct link to Benchmark" translate="no">​</a></h2>
<p>The main performance question for conditional writes is whether adding the precondition makes the common successful path slower than a normal write. In Ozone, the expected ETag or create-if-absent flag is carried with the normal S3 Gateway to OM request, then validated in OM’s metadata update path. This design avoids a separate gateway-side metadata read before every conditional write.</p>
<p>To sanity-check that assumption, we ran a small local benchmark against a Docker Compose Ozone cluster through S3 Gateway. The benchmark used 4 KiB objects, 15 warmup iterations, and 100 measured iterations per operation. It compared four operations:</p>
<ul>
<li class="">normal <code>PUT</code> creating a new key,</li>
<li class=""><code>PUT If-None-Match: *</code> creating a new key,</li>
<li class="">normal <code>PUT</code> overwriting an existing key,</li>
<li class=""><code>PUT If-Match: &lt;etag&gt;</code> overwriting an existing key.</li>
</ul>
<p><img decoding="async" loading="lazy" alt="Benchmark comparing normal and conditional PUT latency" src="https://ozone.apache.org/assets/images/benchmark-latency-b34ad2bd093809922d914cee8851b567.png" width="1904" height="1120" class="img_xxiv"></p>
<p><em>Figure 17. Local benchmark latency for normal <code>PUT</code>, <code>PUT If-None-Match</code>, normal overwrite, and <code>PUT If-Match</code>.</em></p>
<p>In this setup, conditional create was effectively the same as normal create: the mean latency differed by about 0.12 ms, and the p95 was slightly lower. Conditional overwrite was also close to normal overwrite: the mean latency was about 0.35 ms higher, while p95 remained slightly lower and p99 was nearly identical.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="conclusion">Conclusion<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#conclusion" class="hash-link" aria-label="Direct link to Conclusion" title="Direct link to Conclusion" translate="no">​</a></h2>
<p>Object storage has quietly crossed a line. It is no longer just where systems park their bytes.  It has become the place where they coordinate. Metadata catalogs, write-ahead logs, leader election, job queues, model caches: all of these need a single point of truth about “who wrote last,” and increasingly they want to ask that question of the storage layer itself.</p>
<p>By bringing native S3 conditional requests to Apache Ozone without adding an extra RPC on the happy path, we turn Ozone into a first-class substrate for optimistic concurrency control. Applications can compare-and-swap directly against the objects they already store, and retire the external lock services, catalog databases, and consensus clusters they once needed just to avoid a lost update.</p>
<p>The result is a simpler architecture: fewer moving parts, one less thing to operate, and coordination that lives exactly where the data does.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="references">References<a href="https://ozone.apache.org/blog/2026/07/08/ozone-s3-conditional-request#references" class="hash-link" aria-label="Direct link to References" title="Direct link to References" translate="no">​</a></h2>
<ul>
<li class=""><a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html" target="_blank" rel="noopener noreferrer" class="">Amazon S3 conditional requests</a></li>
<li class=""><a href="https://www.allthingsdistributed.com/2025/03/in-s3-simplicity-is-table-stakes.html" target="_blank" rel="noopener noreferrer" class="">In S3, simplicity is table stakes</a></li>
<li class=""><a href="https://www.bitsxpages.com/p/protocols-for-transactional-usage" target="_blank" rel="noopener noreferrer" class="">Protocols for transactional usage</a></li>
<li class=""><a href="https://www.morling.dev/blog/leader-election-with-s3-conditional-writes/" target="_blank" rel="noopener noreferrer" class="">Leader election with S3 conditional writes</a></li>
<li class=""><a href="https://nvartolomei.com/oswald/#writer-writer-conflicts" target="_blank" rel="noopener noreferrer" class="">OSWALD writer-writer conflicts</a></li>
<li class=""><a href="https://github.com/nvartolomei/oswald/tree/main/p/Oswald" target="_blank" rel="noopener noreferrer" class="">OSWALD repository</a></li>
<li class=""><a href="https://www.shayon.dev/post/2025/277/an-mvcc-like-columnar-table-on-s3-with-constant-time-deletes/#the-delete-problem-with-immutable-formats" target="_blank" rel="noopener noreferrer" class="">An MVCC-like columnar table on S3 with constant-time deletes</a></li>
<li class=""><a href="https://turbopuffer.com/blog/object-storage-queue" target="_blank" rel="noopener noreferrer" class="">Turbopuffer object storage queue</a></li>
<li class=""><a href="https://github.com/seaweedfs/seaweedfs/wiki/S3-Conditional-Operations" target="_blank" rel="noopener noreferrer" class="">SeaweedFS S3 conditional operations</a></li>
<li class=""><a href="https://news.ycombinator.com/item?id=45493158" target="_blank" rel="noopener noreferrer" class="">Hacker News discussion on S3 conditional writes</a></li>
<li class=""><a href="https://www.opendata.dev/blog/buffer-ha-pipelines-without-kafka" target="_blank" rel="noopener noreferrer" class="">Buffer HA pipelines without Kafka</a></li>
</ul>]]></content:encoded>
            <category>Ozone</category>
            <category>S3</category>
            <category>concurrency</category>
            <category>conditional-requests</category>
        </item>
        <item>
            <title><![CDATA[Making Apache Ozone’s S3 Compatibility Visible]]></title>
            <link>https://ozone.apache.org/blog/2026/06/27/ozone-s3-compatibility</link>
            <guid>https://ozone.apache.org/blog/2026/06/27/ozone-s3-compatibility</guid>
            <pubDate>Sat, 27 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Recently I created https//github.com/peterxcli/ozone-s3-compatibility.]]></description>
            <content:encoded><![CDATA[<p>Recently I created <a href="https://ozone.s3.peterxcli.dev/" target="_blank" rel="noopener noreferrer" class="">https://ozone.s3.peterxcli.dev/</a>, an automated update dashboard for Apache Ozone S3 compatibility. It runs Ozone against real S3 compatibility suites, publishes the result every day, and lets you search test cases, inspect failures, read source snippets, open logs, and check whether your PR helps the compatibility story. It is fully open source at <a href="https://github.com/peterxcli/ozone-s3-compatibility" target="_blank" rel="noopener noreferrer" class="">https://github.com/peterxcli/ozone-s3-compatibility</a>.</p>
<p>TL;DR:</p>
<ul>
<li class="">Overall, <strong>7% (50/711)</strong> compatibility improvement at the time of writing.</li>
<li class="">Parquet + search-index optimization made the Pages data <strong>11.8x smaller</strong>, yearly git growth <strong>12x slower</strong>, and search data <strong>14x smaller</strong>.</li>
<li class="">It runs Apache Ozone against <a href="https://github.com/ceph/s3-tests" target="_blank" rel="noopener noreferrer" class=""><code>ceph/s3-tests</code></a> and <a href="https://github.com/minio/mint" target="_blank" rel="noopener noreferrer" class=""><code>minio/mint</code></a>, then publishes a GitHub Pages report.</li>
<li class="">It turns compatibility from “a few epic tickets and some memory in people’s heads” into a searchable, linkable, daily signal.</li>
<li class="">For users, it answers “does Ozone support this S3 behavior today?” For developers, it answers “which exact test is failing, why, and did my PR move it?”</li>
</ul>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="why-did-i-create-it">Why did I create it?<a href="https://ozone.apache.org/blog/2026/06/27/ozone-s3-compatibility#why-did-i-create-it" class="hash-link" aria-label="Direct link to Why did I create it?" title="Direct link to Why did I create it?" translate="no">​</a></h2>
<p>Before this dashboard was introduced, Apache Ozone had already invested considerable effort in tracking the compatibility gap through several epic issues: <a href="https://issues.apache.org/jira/browse/HDDS-1186" target="_blank" rel="noopener noreferrer" class="">Ozone S3 Gateway Phase 4</a>, <a href="https://issues.apache.org/jira/browse/HDDS-12716" target="_blank" rel="noopener noreferrer" class="">Ozone S3 Gateway (phase III)</a>, and <a href="https://issues.apache.org/jira/browse/HDDS-8423" target="_blank" rel="noopener noreferrer" class="">S3 API compatibility improvements and fixes</a>.</p>
<p>But if you click through those links, you will quickly get lost. They are useful, but they are not a fresh report of what Apache Ozone’s S3 compatibility looks like today.</p>
<p>Users don’t know whether Ozone supports a specific S3 behavior. Developers don’t know whether a feature gap, implementation gap, or corner case is already handled correctly. And when a compatibility issue is fixed or newly introduced, there was no fresh source of truth to show that change.</p>
<p>Also, when we develop S3 features, we often look at AWS S3 docs or source code from other open source S3-compatible systems, then infer how the implementation should behave and what test cases we should add. That works sometimes, but it is still mostly guessing. There was no easy harness to continuously test Ozone’s behavior against existing compatibility suites and make the result easy to inspect.</p>
<p>So that’s why I wanted to create this dashboard.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="how-to-use-the-dashboard">How to Use the Dashboard<a href="https://ozone.apache.org/blog/2026/06/27/ozone-s3-compatibility#how-to-use-the-dashboard" class="hash-link" aria-label="Direct link to How to Use the Dashboard" title="Direct link to How to Use the Dashboard" translate="no">​</a></h2>
<p>I usually think of the dashboard as having a few different modes.</p>
<p>First, start from the latest run summary. The top cards show the current <code>s3-tests</code> and <code>mint</code> compatibility rate, eligible case count, pass/fail/error count, skipped count, and the delta compared with the previous run. This makes it easy to know whether today’s result is better, worse, or basically unchanged. One small detail here: the compatibility rate is <code>passed / (passed + failed + errored)</code>.</p>
<p><img decoding="async" loading="lazy" alt="overview" src="https://ozone.apache.org/assets/images/overview-2841642bf0435f07ae6d4e466e54d6e5.png" width="2048" height="1042" class="img_xxiv"></p>
<p>Second, use the search box as the main debugging entry point. You can search by suite, test name, run id, run date, source path, feature name, status, or failure text. For example, if you are working on object tagging, you can search for <code>tagging</code>; if you are looking at a specific failure from <code>s3-tests</code>, you can paste part of the error message. Search results show the matched fields, suite, run date, status, feature tags, and a short failure preview.
<img decoding="async" loading="lazy" alt="test-case-search" src="https://ozone.apache.org/assets/images/test-case-search-791885f7df8da5b98a1b9064a8c81103.png" width="2048" height="452" class="img_xxiv"></p>
<p>Third, click a search result. The modal shows the full failure detail, related metadata, a permalink, and the test code. For <code>s3-tests</code>, the dashboard can fetch the upstream source file and extract the Python test function, so you don’t need to jump between the report, GitHub, and your local checkout just to understand what the test is asking for.</p>
<p><img decoding="async" loading="lazy" alt="test-case-search-detail" src="https://ozone.apache.org/assets/images/test-case-search-detail-140f81054ca1abb56ed40a6be643f063.png" width="2048" height="1837" class="img_xxiv"></p>
<p>Fourth, open the current report detail. The page does not load all case details upfront. Instead, it loads summary first, then fetches the full run detail when you open the latest run or an archived run. Inside the run detail, you can inspect suites, feature summaries, individual failed cases, and log files.
<img decoding="async" loading="lazy" alt="run-overview" src="https://ozone.apache.org/assets/images/run-overview-0cb1d79f842662ba6435bc94051bccf6.png" width="2048" height="601" class="img_xxiv">
<img decoding="async" loading="lazy" alt="run-expanded" src="https://ozone.apache.org/assets/images/run-expanded-6f6a2b9c9d950e0876f799e56b77102c.png" width="1972" height="1758" class="img_xxiv">
<img decoding="async" loading="lazy" alt="run-detail" src="https://ozone.apache.org/assets/images/run-detail-2682d9d4b20a9590cdb83148139d958d.png" width="1874" height="1898" class="img_xxiv"></p>
<p>Fifth, use the trend panel. The top-line trend is useful to see whether the overall compatibility is moving. The per-feature trend is even more useful because a single global number can hide what changed. For example, a PR might only improve object tagging, bucket listing, copy object behavior, or some conditional-write corner case. Those changes are much easier to reason about feature by feature.</p>
<p><img decoding="async" loading="lazy" alt="trend-panel" src="https://ozone.apache.org/assets/images/trend-panel-9a633875f1dec07986774f5449f9d4e1.png" width="2048" height="858" class="img_xxiv"></p>
<p>Sixth, use archived runs when you need history. Old runs are still there, but their details are loaded only when opened. This is helpful when you want to compare a failure today with an older run, or when a PR says “this test used to fail before the fix.”
<img decoding="async" loading="lazy" alt="archived-runs" src="https://ozone.apache.org/assets/images/archived-runs-068db04255eb4fe26370319592bc0617.png" width="1797" height="2048" class="img_xxiv"></p>
<p>Finally, the Parquet file inspector is there for people who want to inspect the published dataset itself. This is mostly for debugging the dashboard and data model, but it is surprisingly useful when you want to understand what files were generated, how many rows they contain, and whether the published data looks sane. I also want to thank Xiangpeng for building the <a href="https://github.com/XiangpengHao/parquet-viewer" target="_blank" rel="noopener noreferrer" class="">Parquet Viewer</a>, which let us inspect the parquet file content directly on the site.
<img decoding="async" loading="lazy" alt="parquet-file-inspector" src="https://ozone.apache.org/assets/images/parquet-file-inspector-f36b9581830a6a5ab7a50ca3d0dc48b4.png" width="2048" height="1238" class="img_xxiv">
<img decoding="async" loading="lazy" alt="parquet-file-viewer" src="https://ozone.apache.org/assets/images/parquet-file-viewer-6e6085cfed201efd7d64d6c63274fc7f.png" width="2048" height="1436" class="img_xxiv"></p>
<p>For PR authors, there is also a PR comparison workflow. It can run an Ozone PR head, compare it with the latest published main run, write a step summary, and optionally comment back on the Ozone PR. That is the part I like the most: compatibility is not just a dashboard to look at, but something you can wire into development review.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="how-is-this-built">How is this built?<a href="https://ozone.apache.org/blog/2026/06/27/ozone-s3-compatibility#how-is-this-built" class="hash-link" aria-label="Direct link to How is this built?" title="Direct link to How is this built?" translate="no">​</a></h2>
<p>For the very first version, I literally just prompted Codex with <code>gpt5.4 xhigh</code>:</p>
<div class="theme-admonition theme-admonition-info admonition_KWNG alert alert--info"><div class="admonitionHeading_KbNW"><span class="admonitionIcon_mAjL"><svg viewBox="0 0 14 16"><path fill-rule="evenodd" d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg></span>Prompt</div><div class="admonitionContent_oTFZ"><p>I want to create a repo that runs <a href="https://github.com/ceph/s3-tests" target="_blank" rel="noopener noreferrer" class="">https://github.com/ceph/s3-tests</a> and <a href="https://github.com/minio/mint" target="_blank" rel="noopener noreferrer" class="">https://github.com/minio/mint</a> on GitHub Action and generate the compatibility report page on GitHub Pages nightly. Make the page pretty. My desired steps that run in the GitHub Action are: clone the Ozone repo, pull latest master change, compile, start running cluster, run Mint and <code>s3-tests</code> to get result, compile result to be the page. We can show the compatibility rate of each feature for each test (<code>s3-tests</code>, <code>mint</code>) daily change as a chart at the page top, followed by the report page, then also include the old result expansion button to allow users to check a specific date’s running result. BTW I have the local clone of Ozone at <code>~/Documents/oss/apache/ozone</code>, you can look into it directly without searching the codebase on the website.</p></div></div>
<p>It got most of it right on the first try. I still made some follow-ups on the result, like “attach <code>s3-tests</code> and <code>mint</code> as submodule” and “use <code>act</code> to test the GitHub Action works locally within Docker”, but those were relatively minor compared with the first scaffold.</p>
<p>The nightly workflow now does roughly this:</p>
<ol>
<li class="">Build the Vue/Vite report frontend.</li>
<li class="">Clone Ozone and the upstream compatibility suites.</li>
<li class="">Build an Ozone distribution.</li>
<li class="">Start a packaged Ozone compose cluster.</li>
<li class="">Run <code>s3-tests</code> and Mint against the S3 Gateway.</li>
<li class="">Normalize the raw output into a run result.</li>
<li class="">Build the static Pages output, including the historical data.</li>
<li class="">Publish to <code>gh-pages</code> for scheduled runs.</li>
</ol>
<p>The frontend is Vue 3 + Vite. The automation layer is just scripts and GitHub Actions. The data processing is mostly Python. For the newer version, the published report data is JSON.</p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="optimization">Optimization<a href="https://ozone.apache.org/blog/2026/06/27/ozone-s3-compatibility#optimization" class="hash-link" aria-label="Direct link to Optimization" title="Direct link to Optimization" translate="no">​</a></h3>
<p>After a few runs, I started to notice that the dashboard was becoming sluggish. After some inspection, I found a few reasons.</p>
<ol>
<li class="">
<p>First, we originally used one JSON file to represent one run result. Each latest run was about 0.236 MiB. This sounds small, but the problem is that we did not lazy-load these files initially. Every time the page refreshed, even if some files might already be cached by the browser, the TypeScript data structure still ended up holding too much content from too many files. That was memory-intensive.</p>
</li>
<li class="">
<p>Second, the JSON data had a ton of room to compress. The data shape is very repetitive: <code>run_id</code>, <code>suite_key</code>, <code>status</code>, feature names, source paths, class names, test names, and similar object keys appear again and again. JSON stores all of that as repeated text and nested objects. Even if HTTP compression helps over the network, the browser still has to parse it into JavaScript objects, and Git still stores changed blobs. This kind of data is much closer to a table than a document, so a columnar format makes more sense.</p>
</li>
<li class="">
<p>Finally, the search index data was not normalized correctly. The index repeated run metadata and case metadata too much, and it grew quickly. For Git history, this is especially bad because every new run changes a large generated file again.</p>
</li>
</ol>
<p>So then I basically applied three optimizations: lazy loading, Parquet compression, and search/index normalization.</p>
<ol>
<li class=""><strong>Lazy loading.</strong> The page now loads the light catalog/index first. Full run details are fetched only when you open the latest run or expand an archived run. Search index loading is also delayed until you actually search, and the browser can keep the FlexSearch index in IndexedDB. Logs are fetched only when you open a log modal. Source snippets are fetched only when you open a case. This makes the first page load much cheaper.</li>
<li class=""><strong>Compress data as Parquet.</strong> Instead of treating every run as one large JSON document, the report data is split into Parquet tables: catalog runs, suites, features, per-run metadata, per-run cases, search rows, log files, and log lines. The Parquet writer uses Zstd compression and dictionary encoding, which is a much better fit for repeated values like suite names, statuses, feature tags, and source paths. The frontend then queries these Parquet files in the browser through DuckDB-Wasm.</li>
<li class=""><strong>Index file optimization.</strong> The search rows now contain normalized fields and a short <code>detail_preview</code>, while the full case detail can be hydrated from the per-run case Parquet file when needed. For JSON fallback, the index and search data are partitioned into smaller shards. For the normal Parquet path, the global search index is a compressed Parquet file. The search index also has a stable <code>index_id</code>, so the browser can reuse the IndexedDB cache when the data has not changed.</li>
</ol>
<p>The results were dramatic:</p>
<ol>
<li class="">Parquet data now:<!-- -->
<ol>
<li class="">search rows: 7.64 MiB, 33,876 rows, growing about 0.142-0.147 MiB/run</li>
<li class="">run case/detail data excluding search: 4.92 MiB across 52 runs, growing about 0.093 MiB/run</li>
<li class="">catalog/index data: 0.03 MiB now, growing less than 1 KiB/run</li>
<li class="">total Pages data: 12.59 MiB across 52 runs</li>
<li class="">latest run data: 246,696 bytes = 0.235 MiB</li>
</ol>
</li>
<li class="">Projection at the current rate:<!-- -->
<ol>
<li class="">about +0.236 MiB/run</li>
<li class="">about +7.1 MiB/month</li>
<li class="">about +86 MiB/year</li>
</ol>
</li>
<li class="">Compared with the JSON baseline:<!-- -->
<ol>
<li class="">current data size: 149.11 MiB -&gt; 12.59 MiB, about 11.8x smaller</li>
<li class="">yearly growth: ~1.0 GiB/year -&gt; ~86 MiB/year, about 12x slower</li>
<li class="">search data: 107.09 MiB -&gt; 7.64 MiB, about 14x smaller</li>
</ol>
</li>
</ol>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="impact">Impact<a href="https://ozone.apache.org/blog/2026/06/27/ozone-s3-compatibility#impact" class="hash-link" aria-label="Direct link to Impact" title="Direct link to Impact" translate="no">​</a></h2>
<p>Ozone has already improved since the dashboard was released.
<img decoding="async" loading="lazy" alt="s3-tests-compatibility-rate" src="https://ozone.apache.org/assets/images/s3-tests-compatibility-rate-5794804afa99270ffadbf607601bf1f0.png" width="1096" height="510" class="img_xxiv"></p>
<p>I don’t want to take credit for every improvement below, but I do think the dashboard changed the workflow. It gives us concrete failing cases, links that can be pasted into PRs, and an easy way to check whether the gap is still there after a patch.</p>
<p>There are already quite a few PRs and designs which aim to fix compatibility gaps discovered or made easier to discuss by the dashboard:</p>
<ul>
<li class="">Object tagging and bucket tagging:<!-- -->
<ul>
<li class=""><a href="https://github.com/apache/ozone/pull/10265" target="_blank" rel="noopener noreferrer" class="">HDDS-15258. Include x-amz-tagging-count header in HEAD object tagging responses</a></li>
<li class=""><a href="https://github.com/apache/ozone/pull/10277" target="_blank" rel="noopener noreferrer" class="">HDDS-15283. GetObjectTagging should return TagSet in sorted order of key</a></li>
<li class=""><a href="https://github.com/apache/ozone/pull/10299" target="_blank" rel="noopener noreferrer" class="">HDDS-15259. PutObject should treat null tag value for x-amz-tagging header as empty tag value</a></li>
<li class=""><a href="https://github.com/apache/ozone/pull/10498" target="_blank" rel="noopener noreferrer" class="">HDDS-15510. Implement OM read/write paths for bucket tagging with audit and metrics</a></li>
<li class=""><a href="https://docs.google.com/document/d/1jq1JOatCrUpD7k3PutfkGrZ7nFC1C69BkMoMWcRWaw4/edit?tab=t.0#heading=h.rs6cprl5cddi" target="_blank" rel="noopener noreferrer" class="">Proposal: S3 Bucket Tagging in Apache Ozone</a></li>
</ul>
</li>
<li class="">Bucket listing and directory bucket behavior:<!-- -->
<ul>
<li class=""><a href="https://github.com/apache/ozone/pull/10297" target="_blank" rel="noopener noreferrer" class="">HDDS-15302. Throw S3 InvalidArgument for RequestParameters getInt if parsing error</a></li>
<li class=""><a href="https://github.com/apache/ozone/pull/10298" target="_blank" rel="noopener noreferrer" class="">HDDS-15303. Enable prefix filter for OBS</a></li>
<li class=""><a href="https://github.com/apache/ozone/pull/10408" target="_blank" rel="noopener noreferrer" class="">HDDS-15450. Implement ListDirectoryBuckets S3 API for Directory Buckets support</a></li>
</ul>
</li>
<li class="">Other compatibility-related correctness work:<!-- -->
<ul>
<li class=""><a href="https://github.com/apache/ozone/pull/10472" target="_blank" rel="noopener noreferrer" class="">HDDS-15515. Support object Content-Type end-to-end in S3 Gateway</a></li>
</ul>
</li>
</ul>
<p>The most useful effect is not just that the percentage moved. It is that the compatibility gap became much more concrete. A failed test can now become a dashboard link, then a Jira, then a PR, then a nightly result showing whether it passed.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="insight">Insight<a href="https://ozone.apache.org/blog/2026/06/27/ozone-s3-compatibility#insight" class="hash-link" aria-label="Direct link to Insight" title="Direct link to Insight" translate="no">​</a></h2>
<ol>
<li class="">The main reason this was adopted by other community members is that I shared it as soon as it was useful enough for others to try: <a href="https://lists.apache.org/thread/2td4jt8r26pwph5lwq3ncbnv97n27d5w" target="_blank" rel="noopener noreferrer" class="">[DISCUSS] Nightly Ozone S3 compatibility report</a>. It was not perfect yet, and I think posting early was important.</li>
<li class="">This played a role in my promotion to PMC because it made a long-standing problem visible and gave the community a practical tool to keep improving it.</li>
<li class="">Not every failed test case means Ozone is wrong. Sometimes the compatibility suite itself has a questionable expectation. For example, I opened <a href="https://github.com/ceph/s3-tests/pull/735" target="_blank" rel="noopener noreferrer" class="">ceph/s3-tests#735</a> to align conditional write tests with <code>If-None-Match: *</code> semantics. At the time of writing, it is still open. This is a good reminder that compatibility work is not only “fix Ozone until all tests pass”; sometimes it is also “debug the tests and upstream better expectations.”</li>
<li class="">A dashboard is also a social tool. If the result is not searchable, linkable, and easy to quote in a PR, it will not be used much. The permalink part sounds small, but it matters a lot when people discuss failures asynchronously.</li>
<li class="">A single compatibility percentage is useful, but it is not enough. The real value is in the drill-down: which feature changed, which test changed, what error message changed, and what source code was the test running. Without that, the percentage is just a vanity number.</li>
<li class="">LLMs are very good at scaffolding this kind of glue project. But the part that made it trustworthy was not the first generated code. It was the boring follow-up: run it locally with <code>act</code>, add tests, normalize data, make it faster, and keep it running every day.</li>
<li class="">I should have treated the data model as important from the beginning. The UI can grow quickly, but if the data layout is wrong, the page becomes slow and the Git history becomes huge. Moving to Parquet later worked, but I probably should have designed the report as a dataset earlier.</li>
</ol>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="conclusion">Conclusion<a href="https://ozone.apache.org/blog/2026/06/27/ozone-s3-compatibility#conclusion" class="hash-link" aria-label="Direct link to Conclusion" title="Direct link to Conclusion" translate="no">​</a></h2>
<p>This dashboard started as a pretty simple idea: run <code>s3-tests</code> and Mint against Apache Ozone every night, then publish a nice report page. But after using it for a while, I think the more important part is that it turns S3 compatibility into a feedback loop.</p>
<p>Before, compatibility was scattered across Jira epics, docs, people’s memory, and occasional manual testing. Now there is a daily report that users can search, developers can debug, and PR authors can use as evidence. It is still not perfect, and some failures still need human judgment, but at least we have a place to look.</p>
<p>If you are using Ozone S3 Gateway, or if you are working on Ozone S3 compatibility, please try the dashboard and the repo. Search for the feature you care about, click into the failures, and open issues or PRs when something looks wrong. The more boring and continuous this compatibility work becomes, the better Ozone will get.</p>]]></content:encoded>
            <category>Ozone</category>
            <category>S3</category>
            <category>compatibility</category>
        </item>
        <item>
            <title><![CDATA[Apache Ozone Best Practices at Didi: Scaling to Tens of Billions of Files]]></title>
            <link>https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi</link>
            <guid>https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi</guid>
            <pubDate>Fri, 30 Jan 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Guest post by the Didi Engineering Team. For the full story with detailed slides, see Apache Ozone Best Practices at Didi (PDF).]]></description>
            <content:encoded><![CDATA[<p>Guest post by the Didi Engineering Team. For the full story with detailed slides, see <a href="https://ozone.apache.org/assets/files/ApacheOzoneBestPracticesAtDidi-10e92be1e017fa7c6c0ba1979732808d.pdf" target="_blank" class="">Apache Ozone Best Practices at Didi (PDF)</a>.</p>
<p>As Didi's volume of unstructured data surged into the hundreds of petabytes, comprising tens of billions of files, their traditional storage architecture faced severe scalability bottlenecks. This post summarizes how they migrated from HDFS to Apache Ozone, the optimizations they implemented for high-performance reads, and their journey in contributing these improvements back to the community.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="the-challenge-hdfs-at-scale">The Challenge: HDFS at Scale<a href="https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi#the-challenge-hdfs-at-scale" class="hash-link" aria-label="Direct link to The Challenge: HDFS at Scale" title="Direct link to The Challenge: HDFS at Scale" translate="no">​</a></h2>
<p>Like many data-driven enterprises, Didi relied heavily on HDFS. However, as their data scale grew, they hit the classic "NameNode Limit."</p>
<ul>
<li class=""><strong>Metadata Pressure:</strong> Storing hundreds of millions of files put immense pressure on the HDFS NameNode memory.</li>
<li class=""><strong>Block Reporting Storms:</strong> With massive file counts, block reporting became a significant overhead.</li>
<li class=""><strong>Scalability Ceiling:</strong> They needed a solution that could handle tens of billions of files without partitioning their clusters into unmanageable silos.</li>
</ul>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="why-ozone">Why Ozone?<a href="https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi#why-ozone" class="hash-link" aria-label="Direct link to Why Ozone?" title="Direct link to Why Ozone?" translate="no">​</a></h2>
<p>They chose Apache Ozone as their next-generation storage engine because it addresses these limitations architecturally:</p>
<ul>
<li class=""><strong>Decoupled Metadata:</strong> By separating the Ozone Manager (OM) for namespace and Storage Container Manager (SCM) for block management, Ozone scales significantly better than HDFS.</li>
<li class=""><strong>RocksDB-based Metadata:</strong> Unlike HDFS, which relies entirely on heap memory, Ozone stores metadata in RocksDB, removing the memory bottleneck.</li>
<li class=""><strong>Container Logic:</strong> Managing data in "containers" rather than individual blocks reduces the reporting overhead on the SCM.</li>
</ul>
<p>Today, Ozone has been running in production at Didi for over two years, managing hundreds of PB of storage.</p>
<p><img decoding="async" loading="lazy" alt="Figure 1: Ozone Cluster Scale at Didi" src="https://ozone.apache.org/assets/images/ozone-cluster-scale-at-didi-bff8e63e93ed0f503b50d7350756bef4.png" width="1856" height="842" class="img_xxiv"></p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="architecture--key-optimizations">Architecture &amp; Key Optimizations<a href="https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi#architecture--key-optimizations" class="hash-link" aria-label="Direct link to Architecture &amp; Key Optimizations" title="Direct link to Architecture &amp; Key Optimizations" translate="no">​</a></h2>
<p>Migrating was just the first step. To meet Didi's strict latency requirements (especially for "first-frame" read access), they engineered several critical optimizations.</p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="1-multi-cluster-routing-with-viewfs">1. Multi-Cluster Routing with ViewFs<a href="https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi#1-multi-cluster-routing-with-viewfs" class="hash-link" aria-label="Direct link to 1. Multi-Cluster Routing with ViewFs" title="Direct link to 1. Multi-Cluster Routing with ViewFs" translate="no">​</a></h3>
<p>To manage the sheer volume of data, they utilized a client-side routing mechanism inspired by HDFS ViewFs. By mapping paths to specific clusters (e.g., <code>vol/bucket/prefix1</code> → cluster1), they effectively balanced the load and kept the file count in each cluster under 5 billion, alleviating RPC pressure on individual Ozone Managers.</p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="2-boosting-read-performance-s3g-follower-reads">2. Boosting Read Performance: S3G Follower Reads<a href="https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi#2-boosting-read-performance-s3g-follower-reads" class="hash-link" aria-label="Direct link to 2. Boosting Read Performance: S3G Follower Reads" title="Direct link to 2. Boosting Read Performance: S3G Follower Reads" translate="no">​</a></h3>
<p>They observed that the Leader OM often became a bottleneck for S3 Gateway (S3G) requests. To solve this, they implemented a Follower Read strategy.</p>
<p>They introduced a "probe task" in the client (e.g. every 3 seconds) that evaluates:</p>
<ul>
<li class=""><strong>Latency:</strong> Selects the OM node with the lowest response time.</li>
<li class=""><strong>Freshness:</strong> Checks the lastAppliedIndex to ensure the Follower isn't serving stale data.</li>
</ul>
<p><strong>Result:</strong> The P90 latency for S3G metadata requests (GetMetaLatency) dropped from a weekly average of ~90ms to ~17ms; in best cases, from tens of milliseconds to under 3ms.</p>
<p><img decoding="async" loading="lazy" alt="Figure 6-2. S3G Download Latency Monitoring After FollowerRead Goes Online" src="https://ozone.apache.org/assets/images/s3g-download-latency-follower-read-goes-online-102b1f38e6b783c7401950efbbef20b0.png" width="2310" height="1772" class="img_xxiv"></p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="3-heterogeneous-caching-hdd--nvme">3. Heterogeneous Caching (HDD + NVMe)<a href="https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi#3-heterogeneous-caching-hdd--nvme" class="hash-link" aria-label="Direct link to 3. Heterogeneous Caching (HDD + NVMe)" title="Direct link to 3. Heterogeneous Caching (HDD + NVMe)" translate="no">​</a></h3>
<p>Didi's clusters use cost-effective hard disk drives, but random reads on small files (tens of MBs) suffered from disk latency. They designed a heterogeneous caching layer:</p>
<ul>
<li class=""><strong>Strategy:</strong> They cache the first Chunk (1MB) of each block on high-speed NVMe SSDs; for EC (e.g. RS-6-3-1024k) they cache the first stripe (9MB: 6 data + 3 parity) to cover first-frame needs.</li>
<li class=""><strong>Impact:</strong> The 6MB of actual data in that stripe is sufficient for most first-frame requests, dramatically improving read speeds without the cost of all-flash storage.</li>
<li class=""><strong>Implementation:</strong> A custom LRU cache on the Datanode manages this hot data, ensuring efficient space utilization. This caching optimization brought at least 100ms latency improvement in first-frame reads.</li>
</ul>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="4-concurrency--lock-optimization">4. Concurrency &amp; Lock Optimization<a href="https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi#4-concurrency--lock-optimization" class="hash-link" aria-label="Direct link to 4. Concurrency &amp; Lock Optimization" title="Direct link to 4. Concurrency &amp; Lock Optimization" translate="no">​</a></h3>
<p>During high-concurrency testing, they identified thread contention issues. Specifically, a spin lock in <code>ChunkUtils#processFileExclusive</code> was causing CPU spikes.</p>
<p>They contributed a fix (see <a href="https://issues.apache.org/jira/browse/HDDS-11281" target="_blank" rel="noopener noreferrer" class="">HDDS-11281</a>) that replaced the global lock with a <code>Striped&lt;ReadWriteLock&gt;</code>. This granular locking mechanism reduced lock contention and improved system throughput, yielding a performance gain of at least 50ms per operation in contended scenarios.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="cost-efficiency-erasure-coding-ec">Cost Efficiency: Erasure Coding (EC)<a href="https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi#cost-efficiency-erasure-coding-ec" class="hash-link" aria-label="Direct link to Cost Efficiency: Erasure Coding (EC)" title="Direct link to Cost Efficiency: Erasure Coding (EC)" translate="no">​</a></h2>
<p>With data growing at &gt;1PB per day, the 3-replica cost model was unsustainable. They transitioned to Erasure Coding (EC) using the RS-6-3-1024k policy.</p>
<ul>
<li class=""><strong>Storage Savings:</strong> Reduced replication factor from 3x to ~1.5x, saving 50% on hardware.</li>
<li class=""><strong>Challenges Solved:</strong> They encountered and fixed issues with deletion backlogs (<a href="https://issues.apache.org/jira/browse/HDDS-11498" target="_blank" rel="noopener noreferrer" class="">HDDS-11498</a>), insufficient EC pipelines (<a href="https://issues.apache.org/jira/browse/HDDS-11209" target="_blank" rel="noopener noreferrer" class="">HDDS-11209</a>), and Safe Mode logic for EC containers (<a href="https://issues.apache.org/jira/browse/HDDS-11243" target="_blank" rel="noopener noreferrer" class="">HDDS-11243</a>), ensuring EC is as robust as replication in production.</li>
</ul>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="community-contributions">Community Contributions<a href="https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi#community-contributions" class="hash-link" aria-label="Direct link to Community Contributions" title="Direct link to Community Contributions" translate="no">​</a></h2>
<p>Didi's journey with Ozone has been deeply collaborative. We are proud to highlight that Didi's contributors have brought several key fixes and improvements back to the Apache Ozone community:</p>
<ul>
<li class=""><a href="https://issues.apache.org/jira/browse/HDDS-11483" target="_blank" rel="noopener noreferrer" class="">HDDS-11483</a>: Increased S3G buffer size (e.g. to 4MB) to reduce network I/O and improve first-frame latency.</li>
<li class=""><a href="https://issues.apache.org/jira/browse/HDDS-11209" target="_blank" rel="noopener noreferrer" class="">HDDS-11209</a>: Avoid insufficient EC pipelines in the container pipeline cache (OM must not cache EC pipelines with incomplete Datanodes).</li>
<li class=""><a href="https://issues.apache.org/jira/browse/HDDS-9342" target="_blank" rel="noopener noreferrer" class="">HDDS-9342</a>: Fixed OM HA crash and restart failure caused by timing inconsistency between applyTransactionMap and double-buffer.</li>
<li class=""><a href="https://issues.apache.org/jira/browse/HDDS-10985" target="_blank" rel="noopener noreferrer" class="">HDDS-10985</a>: EC Reconstruction failed because the size of currentChunks was not equal to checksumBlockDataChunks.</li>
</ul>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="summary--future-work">Summary &amp; Future Work<a href="https://ozone.apache.org/blog/2026/01/30/apache-ozone-best-practices-at-didi#summary--future-work" class="hash-link" aria-label="Direct link to Summary &amp; Future Work" title="Direct link to Summary &amp; Future Work" translate="no">​</a></h2>
<p>Apache Ozone has successfully enabled Didi to scale its storage infrastructure to hundreds of petabytes while maintaining high performance and lowering costs.</p>
<p>Looking ahead, Didi is exploring:</p>
<ul>
<li class=""><strong>IO_URING:</strong> To further enhance asynchronous I/O efficiency.</li>
<li class=""><strong>SPDK:</strong> To accelerate access to RocksDB on NVMe drives for OM and SCM.</li>
</ul>
<p>Didi thanks the Apache Ozone community for their support and vibrant collaboration. The transition to Ozone has been a game-changer for Didi's big data infrastructure.</p>]]></content:encoded>
            <category>user-stories</category>
            <category>performance</category>
            <category>erasure-coding</category>
            <category>scale</category>
        </item>
        <item>
            <title><![CDATA[No More Hotspots: Introducing the Automatic Disk Balancer in Apache Ozone]]></title>
            <link>https://ozone.apache.org/blog/2026/01/29/disk-balancer-preview</link>
            <guid>https://ozone.apache.org/blog/2026/01/29/disk-balancer-preview</guid>
            <pubDate>Thu, 29 Jan 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Ever replaced a drive on a Datanode only to watch it become an I/O hotspot?]]></description>
            <content:encoded><![CDATA[<p>Ever replaced a drive on a Datanode only to watch it become an I/O hotspot?
Or seen one disk hit 95% usage while others on the same machine sit idle?
These imbalances create performance bottlenecks and increase failure risk.
Apache Ozone's new intra-node Disk Balancer is designed to fix this—automatically.</p>
<p>Cluster-wide balancing in Ozone already ensures replicas are evenly spread across Datanodes. But inside a single Datanode, disks can still drift out of balance over time — for example after adding new disks, replacing hardware, or performing large deletions. This leads to I/O hotspots and uneven wear.</p>
<p>Disk Balancer closes that gap.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="why-disk-balancer">Why Disk Balancer?<a href="https://ozone.apache.org/blog/2026/01/29/disk-balancer-preview#why-disk-balancer" class="hash-link" aria-label="Direct link to Why Disk Balancer?" title="Direct link to Why Disk Balancer?" translate="no">​</a></h2>
<ul>
<li class="">
<p><strong>Disks fill unevenly</strong> when nodes gain or lose volumes.</p>
</li>
<li class="">
<p><strong>Large deletes</strong> can empty some disks disproportionately.</p>
</li>
<li class="">
<p><strong>Hot disks degrade performance</strong> and become failure risks.</p>
</li>
</ul>
<p>Even if the cluster is balanced, the node itself may not be. Disk Balancer fixes this automatically.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="how-it-works">How it works<a href="https://ozone.apache.org/blog/2026/01/29/disk-balancer-preview#how-it-works" class="hash-link" aria-label="Direct link to How it works" title="Direct link to How it works" translate="no">​</a></h2>
<p>The design (<a href="https://issues.apache.org/jira/browse/HDDS-5713" target="_blank" rel="noopener noreferrer" class="">HDDS-5713</a>) introduces a simple metric: <strong>Volume Data Density</strong> — how much a disk's utilization deviates from the node's average. If the deviation exceeds a threshold, the node begins balancing.</p>
<p>Balancing is local and safe:</p>
<ul>
<li class="">Only <strong>closed containers</strong> are moved.</li>
<li class="">Moves happen entirely <strong>within the same Datanode.</strong></li>
<li class="">A scheduler periodically checks for imbalance and dispatches copy-and-import tasks.</li>
<li class="">Bandwidth and concurrency are <strong>operator-tunable</strong> to avoid interfering with production I/O.</li>
</ul>
<p>This runs independently on each Datanode. The feature can be disabled by setting <code>hdds.datanode.disk.balancer.enabled = false</code> in <code>ozone-site.xml</code> on your Datanodes. Once disabled, clients can no longer use <code>ozone admin datanode diskbalancer</code> commands to balance disks on a Datanode.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="how-diskbalancer-decides-what-to-move">How DiskBalancer Decides What to Move<a href="https://ozone.apache.org/blog/2026/01/29/disk-balancer-preview#how-diskbalancer-decides-what-to-move" class="hash-link" aria-label="Direct link to How DiskBalancer Decides What to Move" title="Direct link to How DiskBalancer Decides What to Move" translate="no">​</a></h2>
<p>DiskBalancer uses simple but robust policy to decide <strong>which disks to balance</strong> and <strong>which containers to move</strong> (see the design doc for details: <code>diskbalancer.md</code> in <a href="https://issues.apache.org/jira/browse/HDDS-5713" target="_blank" rel="noopener noreferrer" class="">HDDS-5713</a>).</p>
<ul>
<li class=""><strong>Default Container Choosing Policy</strong>: This is the default policy that consolidates both volume selection and container selection into a single operation. It identifies the most over-utilized volume
as the source and the most under-utilized volume with sufficient space as the destination, then iterates through containers on the source to pick the first one that is movable (per <code>hdds.datanode.disk.balancer.container.states</code>,
default <strong>CLOSED</strong> and <strong>QUASI_CLOSED</strong>) and is not already being moved. It caches the list of containers for each volume which auto expires after one hour.</li>
</ul>
<p>These defaults aim to make safe, incremental moves that converge the disks toward an even utilization state.</p>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="container-move-process">Container Move Process<a href="https://ozone.apache.org/blog/2026/01/29/disk-balancer-preview#container-move-process" class="hash-link" aria-label="Direct link to Container Move Process" title="Direct link to Container Move Process" translate="no">​</a></h3>
<p>When DiskBalancer moves a container from one disk to another on the <strong>same Datanode</strong>, it follows a careful <strong>"Copy-Validate-Replace"</strong> flow (summarized from the design doc for <a href="https://issues.apache.org/jira/browse/HDDS-5713" target="_blank" rel="noopener noreferrer" class="">HDDS-5713</a>):</p>
<ol>
<li class="">Create a temporary copy of the CLOSED container on the destination disk.</li>
<li class="">Transition that copy into a <strong>RECOVERING</strong> state and import it as a new container on the destination.</li>
<li class="">Once import and metadata updates succeed, delete the original CLOSED container from the source disk.</li>
</ol>
<div class="language-text codeBlockContainer_u_cv theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_v1q3"><pre tabindex="0" class="prism-code language-text codeBlock_hAju thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wyJo"><div class="token-line" style="color:#393A34"><span class="token plain">D1     ----&gt; C1-CLOSED  --- (5) ---&gt; C1-DELETED</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">        |</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">        |</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">       (1)</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">        |</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">D2      ----&gt; Temp C1-CLOSED  --- (2) ---&gt; Temp C1-RECOVERING --- (3) ---&gt; C1-RECOVERING --- (4) ---&gt; C1-CLOSED</span><br></div></code></pre></div></div>
<p>This ensures that data is always consistent: the destination copy is fully validated before the original is removed, minimizing risk during balancing.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="using-disk-balancer">Using Disk Balancer<a href="https://ozone.apache.org/blog/2026/01/29/disk-balancer-preview#using-disk-balancer" class="hash-link" aria-label="Direct link to Using Disk Balancer" title="Direct link to Using Disk Balancer" translate="no">​</a></h2>
<p>The Disk Balancer has a feature flag which is <strong>by default true</strong> on each Datanode and can be disabled by setting the following property in <code>ozone-site.xml</code> :</p>
<ul>
<li class=""><code>hdds.datanode.disk.balancer.enabled = false</code></li>
</ul>
<p>The Disk Balancer CLI supports two command patterns:</p>
<ul>
<li class=""><code>ozone admin datanode diskbalancer &lt;command&gt; --in-service-datanodes</code> - Operate on all <strong>IN_SERVICE and HEALTHY</strong> Datanodes</li>
<li class=""><code>ozone admin datanode diskbalancer &lt;command&gt; &lt;dn-hostname/dn-ipaddress:port&gt;</code> - Operate on a specific Datanode</li>
</ul>
<p>Available commands:</p>
<ul>
<li class=""><strong>start</strong> - Start the Disk Balancer on the target Datanode(s)</li>
<li class=""><strong>stop</strong> - Stop the Disk Balancer on the target Datanode(s)</li>
<li class=""><strong>status</strong> - Check the current Disk Balancer status</li>
<li class=""><strong>report</strong> - Get a volume density report showing imbalance across disks</li>
<li class=""><strong>update</strong> - Update Disk Balancer configuration settings</li>
</ul>
<p>Examples:</p>
<div class="language-bash codeBlockContainer_u_cv theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_v1q3"><pre tabindex="0" class="prism-code language-bash codeBlock_hAju thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wyJo"><div class="token-line" style="color:#393A34"><span class="token comment" style="color:#999988;font-style:italic"># Start Disk Balancer</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer start --in-service-datanodes</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">or</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer start ozone-datanode-1 ozone-datanode-5</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic"># user can also specifiy configuration parameters during start</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer start </span><span class="token parameter variable" style="color:#36acaa">-t</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-b</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-p</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-s</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> --in-service-datanodes</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">or</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer start </span><span class="token parameter variable" style="color:#36acaa">-t</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-b</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-p</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-s</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> ozone-datanode-1</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic"># Stop Disk Balancer</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer stop --in-service-datanodes</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">or</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer stop </span><span class="token number" style="color:#36acaa">192.168</span><span class="token plain">.1.100:9860</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic"># Check status</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer status --in-service-datanodes</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">or</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer status ozone-datanode-1</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic"># Get volume density report</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer report --in-service-datanodes</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">or</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer report </span><span class="token number" style="color:#36acaa">192.168</span><span class="token plain">.1.100:9860</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic"># Update configuration</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer update </span><span class="token parameter variable" style="color:#36acaa">-t</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-b</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-p</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-s</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> --in-service-datanodes</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">or</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone admin datanode diskbalancer update </span><span class="token parameter variable" style="color:#36acaa">-t</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-b</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-p</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-s</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">value</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> ozone-datanode-1</span><br></div></code></pre></div></div>
<h3 class="anchor anchorTargetStickyNavbar_Dk4v" id="configuration-parameters">Configuration Parameters<a href="https://ozone.apache.org/blog/2026/01/29/disk-balancer-preview#configuration-parameters" class="hash-link" aria-label="Direct link to Configuration Parameters" title="Direct link to Configuration Parameters" translate="no">​</a></h3>
<p>The following parameters can be specified during <strong>start</strong> or <strong>update configuration</strong> Disk Balancer:</p>
<table><thead><tr><th>Parameter</th><th>Short Flag</th><th>Default Value</th><th>Description</th></tr></thead><tbody><tr><td><code>--threshold</code></td><td><code>-t</code></td><td><code>10.0</code></td><td>Percentage deviation from average utilization of the disks after which a Datanode will be rebalanced.</td></tr><tr><td><code>--bandwidth-in-mb</code></td><td><code>-b</code></td><td><code>10</code></td><td>Maximum bandwidth for DiskBalancer per second.</td></tr><tr><td><code>--parallel-thread</code></td><td><code>-p</code></td><td><code>5</code></td><td>Max parallel thread count for DiskBalancer.</td></tr><tr><td><code>--stop-after-disk-even</code></td><td><code>-s</code></td><td><code>true</code></td><td>Stop DiskBalancer automatically after disk utilization is even.</td></tr><tr><td><code>--container-states</code></td><td><code>-c</code></td><td><code>CLOSED,QUASI_CLOSED</code></td><td>Comma-separated list of container states that are eligible for moving during balancing.</td></tr></tbody></table>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="benefits-for-operators">Benefits for operators<a href="https://ozone.apache.org/blog/2026/01/29/disk-balancer-preview#benefits-for-operators" class="hash-link" aria-label="Direct link to Benefits for operators" title="Direct link to Benefits for operators" translate="no">​</a></h2>
<ul>
<li class=""><strong>Even I/O load</strong> across disks → more stable performance.</li>
<li class=""><strong>Smooth ops after hardware changes</strong> (new or replaced disks).</li>
<li class=""><strong>Hands-off balancing</strong> once enabled.</li>
<li class=""><strong>Clear metrics</strong> for observability and troubleshooting.</li>
</ul>
<p>It complements the existing Container Balancer: one works across nodes, the other within nodes.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="closing-thoughts">Closing Thoughts<a href="https://ozone.apache.org/blog/2026/01/29/disk-balancer-preview#closing-thoughts" class="hash-link" aria-label="Direct link to Closing Thoughts" title="Direct link to Closing Thoughts" translate="no">​</a></h2>
<p>Disk Balancer is small but impactful. It brings Ozone closer to being a fully self-healing, self-balancing object store — reducing hotspots, simplifying maintenance, and improving cluster longevity.</p>
<p>Ozone 2.2 will ship with this feature available via simple CLI controls and safe defaults. If you run long-lived clusters, this is a feature to watch.</p>
<p>For more information, check out <a href="https://issues.apache.org/jira/browse/HDDS-5713" target="_blank" rel="noopener noreferrer" class="">HDDS-5713</a>.</p>]]></content:encoded>
            <category>Ozone</category>
            <category>Disk Balancer</category>
            <category>Ozone 2.2</category>
            <category>Datanode</category>
        </item>
        <item>
            <title><![CDATA[Accessing Ozone S3 via CyberDuck]]></title>
            <link>https://ozone.apache.org/blog/2025/07/02/access-ozone-via-cyberduck</link>
            <guid>https://ozone.apache.org/blog/2025/07/02/access-ozone-via-cyberduck</guid>
            <pubDate>Wed, 02 Jul 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[Here's a step‑by‑step guide to mounting and managing your Apache Ozone object store's S3 interface using CyberDuck.]]></description>
            <content:encoded><![CDATA[<p>Here's a step‑by‑step guide to mounting and managing your Apache Ozone object store's S3 interface using CyberDuck.</p>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="prerequisites">Prerequisites<a href="https://ozone.apache.org/blog/2025/07/02/access-ozone-via-cyberduck#prerequisites" class="hash-link" aria-label="Direct link to Prerequisites" title="Direct link to Prerequisites" translate="no">​</a></h2>
<ol>
<li class="">
<p><strong>Running Ozone S3 Gateway</strong>
Make sure your Ozone cluster is up and the S3 Gateway (s3g) is running. By default it listens on port <strong>9878</strong> over HTTP (and 9879 for HTTPS) at the host where you started it.</p>
</li>
<li class="">
<p><strong>Credentials</strong></p>
<ul>
<li class="">
<p><strong>No security:</strong> You can use any values for AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY.</p>
</li>
<li class="">
<p><strong>With Kerberos security enabled:</strong></p>
<div class="language-bash codeBlockContainer_u_cv theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_v1q3"><pre tabindex="0" class="prism-code language-bash codeBlock_hAju thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wyJo"><div class="token-line" style="color:#393A34"><span class="token plain">kinit </span><span class="token parameter variable" style="color:#36acaa">-kt</span><span class="token plain"> /etc/security/keytabs/</span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">user</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain">.keytab </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">user</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain">@YOUR.REALM</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone s3 getsecret</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic"># → awsAccessKey=&lt;user&gt;@YOUR.REALM</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic">#   awsSecret=&lt;long‑hex‑string&gt;</span><br></div></code></pre></div></div>
</li>
</ul>
<p>These exports give you the Access Key ID and Secret you'll plug into CyberDuck.</p>
</li>
</ol>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="1-install-cyberduck">1. Install CyberDuck<a href="https://ozone.apache.org/blog/2025/07/02/access-ozone-via-cyberduck#1-install-cyberduck" class="hash-link" aria-label="Direct link to 1. Install CyberDuck" title="Direct link to 1. Install CyberDuck" translate="no">​</a></h2>
<ol>
<li class="">Download CyberDuck from <a href="https://cyberduck.io/" target="_blank" rel="noopener noreferrer" class="">https://cyberduck.io</a> and install it on your Mac or Windows machine.</li>
<li class="">Launch CyberDuck.</li>
</ol>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="2-create-a-new-s3-connection">2. Create a New S3 Connection<a href="https://ozone.apache.org/blog/2025/07/02/access-ozone-via-cyberduck#2-create-a-new-s3-connection" class="hash-link" aria-label="Direct link to 2. Create a New S3 Connection" title="Direct link to 2. Create a New S3 Connection" translate="no">​</a></h2>
<ol>
<li class="">The bundled S3 profile in CyberDuck does not permit a custom network port, and does not allow HTTP. You may need to install additional profiles to allow those.<!-- -->
<ol>
<li class="">Select a profile from <a href="https://gist.github.com/jojochuang/9e15acee99b528ee879f7a280b8f79f7#file-ozone-s3-cyberduck-profiles-md" target="_blank" rel="noopener noreferrer" class="">Ozone S3 CyberDuck profiles</a>.</li>
<li class="">For example, download the <strong><a href="https://gist.github.com/jojochuang/9e15acee99b528ee879f7a280b8f79f7#file-ozone-s3-http-cyberduckprofile" target="_blank" rel="noopener noreferrer" class="">Ozone S3 <code>HTTP.cyberduckprofile</code></a></strong> if your gateway is HTTP.</li>
<li class="">Or download the <strong><a href="https://gist.github.com/jojochuang/9e15acee99b528ee879f7a280b8f79f7#file-ozone-s3-http-with-path-style-addressing-cyberduckprofile" target="_blank" rel="noopener noreferrer" class="">Ozone S3 (HTTP) with path-style <code>addressing.cyberduckprofile</code></a></strong>.</li>
<li class="">Installing the file by double-clicking a <code>.cyberduckprofile</code> file</li>
<li class="">Check out the <a href="https://docs.cyberduck.io/protocols/s3" target="_blank" rel="noopener noreferrer" class="">CyberDuck user documentation</a> for more details.</li>
</ol>
</li>
<li class="">In CyberDuck, click <strong>Open Connection</strong> (or press ⌘ N).</li>
<li class="">From the <strong>Protocol</strong> dropdown choose <strong>Ozone S3 (HTTP)</strong> if your gateway is configured for HTTP), or <strong>Apache Ozone S3 HTTP path style</strong> if the gateway is configured with Path-Style Addressing.</li>
<li class="">Fill in the fields:<!-- -->
<ul>
<li class=""><strong>Server:</strong> <code>&lt;ozone‑s3‑host&gt;</code> (e.g. <code>ozone.example.com</code>)</li>
<li class=""><strong>Port:</strong> <code>9878</code> (or <code>9879</code> for HTTPS)</li>
<li class=""><strong>Access Key ID:</strong> the <code>awsAccessKey</code> you obtained</li>
<li class=""><strong>Secret Access Key:</strong> the <code>awsSecret</code> you obtained</li>
</ul>
</li>
<li class="">Click the little <strong>▶</strong> triangle next to <strong>More Options</strong> and ensure <strong>Use SSL</strong> is unchecked if you're connecting over plain HTTP.</li>
<li class=""><strong>Path‑Style Addressing</strong> (default) vs <strong>Virtual‑Host Style</strong>:<!-- -->
<ul>
<li class="">By default Ozone uses <strong>path‑style</strong> (<code>http://host:9878/bucket</code>).</li>
<li class="">If you've set <code>ozone.s3g.domain.name</code> in your <code>ozone-site.xml</code>, you can switch to virtual‑host style and CyberDuck will use <code>bucket.host:9878</code> URLs.</li>
</ul>
</li>
</ol>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="3-save-as-a-bookmark-optional">3. Save as a Bookmark (Optional)<a href="https://ozone.apache.org/blog/2025/07/02/access-ozone-via-cyberduck#3-save-as-a-bookmark-optional" class="hash-link" aria-label="Direct link to 3. Save as a Bookmark (Optional)" title="Direct link to 3. Save as a Bookmark (Optional)" translate="no">​</a></h2>
<ol>
<li class="">Click the dropdown arrow next to the <strong>Connect</strong> button and choose <strong>Bookmark</strong> ▶ <strong>Add Bookmark</strong>.</li>
<li class="">Give it a name like "Ozone S3" so you can reconnect quickly.</li>
</ol>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="4-browsing-and-basic-operations">4. Browsing and Basic Operations<a href="https://ozone.apache.org/blog/2025/07/02/access-ozone-via-cyberduck#4-browsing-and-basic-operations" class="hash-link" aria-label="Direct link to 4. Browsing and Basic Operations" title="Direct link to 4. Browsing and Basic Operations" translate="no">​</a></h2>
<p>Once connected, your CyberDuck window will list all buckets in the default <code>/s3v</code> volume as top‑level entries.</p>
<ul>
<li class=""><strong>List Buckets:</strong> All existing buckets appear as folders.</li>
<li class=""><strong>Create Bucket:</strong> Click the "+" (New Folder) icon, enter a bucket name, and press <strong>Return</strong>.</li>
<li class=""><strong>Upload Files:</strong> Drag‑and‑drop files from your desktop into a bucket folder.</li>
<li class=""><strong>Download Files:</strong> Right‑click an object and choose <strong>Download To…</strong></li>
<li class=""><strong>Delete Objects/Buckets:</strong> Select the file or bucket, press the <strong>Delete</strong> key, and confirm.</li>
</ul>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="5-working-with-other-volumes">5. Working with Other Volumes<a href="https://ozone.apache.org/blog/2025/07/02/access-ozone-via-cyberduck#5-working-with-other-volumes" class="hash-link" aria-label="Direct link to 5. Working with Other Volumes" title="Direct link to 5. Working with Other Volumes" translate="no">​</a></h2>
<p>Ozone's namespace includes volumes beyond <code>/s3v</code>. To expose a bucket from another volume:</p>
<div class="language-shell codeBlockContainer_u_cv theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_v1q3"><pre tabindex="0" class="prism-code language-shell codeBlock_hAju thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wyJo"><div class="token-line" style="color:#393A34"><span class="token plain">ozone </span><span class="token function" style="color:#d73a49">sh</span><span class="token plain"> volume create /vol1</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone </span><span class="token function" style="color:#d73a49">sh</span><span class="token plain"> bucket create /vol1/bucket1</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">ozone </span><span class="token function" style="color:#d73a49">sh</span><span class="token plain"> bucket </span><span class="token function" style="color:#d73a49">link</span><span class="token plain"> /vol1/bucket1 /s3v/common-bucket</span><br></div></code></pre></div></div>
<p>After linking, you'll see <code>common-bucket</code> in CyberDuck and can manage it just like any other S3 bucket.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Dk4v" id="6-tips--troubleshooting">6. Tips &amp; Troubleshooting<a href="https://ozone.apache.org/blog/2025/07/02/access-ozone-via-cyberduck#6-tips--troubleshooting" class="hash-link" aria-label="Direct link to 6. Tips &amp; Troubleshooting" title="Direct link to 6. Tips &amp; Troubleshooting" translate="no">​</a></h2>
<ul>
<li class=""><strong>Permissions:</strong> If you get "Access Denied," double‑check that you've generated or revoked/re‑generated your S3 secret correctly.</li>
<li class=""><strong>SSL Errors:</strong> If you enable HTTPS on the gateway, make sure you either trust the certificate in CyberDuck or use a CA‑signed cert.</li>
<li class=""><strong>Firewall/Network:</strong> Ensure your machine can reach <code>&lt;ozone‑s3‑host&gt;:9878</code> (e.g. <code>telnet hostname 9878</code>).</li>
<li class=""><strong>Bookmarks Sync:</strong> CyberDuck can sync bookmarks via Dropbox or iCloud so you can share connections across devices.</li>
</ul>
<hr>
<p>You're all set! Enjoy browsing and managing your Ozone object store through a familiar S3 GUI.</p>]]></content:encoded>
            <category>Ozone</category>
            <category>S3</category>
            <category>CyberDuck</category>
        </item>
        <item>
            <title><![CDATA[Apache Ozone 2.0.0 Release]]></title>
            <link>https://ozone.apache.org/blog/2025/04/30/ozone-2.0.0-release</link>
            <guid>https://ozone.apache.org/blog/2025/04/30/ozone-2.0.0-release</guid>
            <pubDate>Wed, 30 Apr 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[Apache Ozone 2.0.0 was released on April 30th, 2025. This release includes 1700 new features, improvements, and bug fixes on top of Ozone 1.4.]]></description>
            <content:encoded><![CDATA[<p>Apache Ozone 2.0.0 was released on April 30th, 2025. This release includes 1700 new features, improvements, and bug fixes on top of Ozone 1.4.</p>
<p>Notable features in this release include:</p>
<ul>
<li class="">Supporting HSync and lease recovery (HDDS-7593).</li>
<li class="">SCM Decommissioning Support (HDDS-7852).</li>
<li class="">Symmetric Keys for Delegation Tokens (HDDS-8829).</li>
<li class="">Atomic Key Overwrite and Key Replacement (HDDS-10656).</li>
</ul>
<p>Other noteworthy changes include:</p>
<ul>
<li class="">ARM64 support (HDDS-6263).</li>
<li class="">Java 11/17/21 Support and Testing (HDDS-8246).</li>
<li class="">AWS SDK v2 client support (HDDS-12488).</li>
</ul>
<p>Observability improvements are:</p>
<ul>
<li class="">Ozone performance and operational dashboards (HDDS-9307).</li>
<li class="">Recon UI Improvements (HDDS-11153).</li>
<li class="">Support for interactive mode for Ozone CLI (HDDS-11825).</li>
</ul>
<p>Developer-focused changes include:</p>
<ul>
<li class="">JUnit 4 to 5 upgrade (HDDS-6729).</li>
<li class="">Dropped Hadoop 2.7 ~ 2.9 support (HDDS-8113).</li>
<li class="">Publish SBOM artifacts (HDDS-10986).</li>
<li class="">Hadoop dependency updated to 3.4.1 (HDDS-11617).</li>
</ul>
<p>Incompatible changes are:</p>
<ul>
<li class="">Move S3 Gateway web admin to separate port (HDDS-7307).</li>
<li class="">Deprecate file per chunk layout from Datanode code (HDDS-11753).</li>
<li class="">Drop support for non-Ratis OM and SCM (HDDS-11754).</li>
<li class="">Remove LegacyReplicationManager (HDDS-11759).</li>
</ul>
<p>Detailed release notes are available at <a href="https://ozone.apache.org/release/2.0.0/" target="_blank" rel="noopener noreferrer" class="">https://ozone.apache.org/release/2.0.0/</a>.
Downloads can be found at <a href="https://ozone.apache.org/downloads/" target="_blank" rel="noopener noreferrer" class="">https://ozone.apache.org/downloads/</a>.
Documentation for this release is available at <a href="https://ozone.apache.org/docs/2.0.0/" target="_blank" rel="noopener noreferrer" class="">https://ozone.apache.org/docs/2.0.0/</a>.</p>]]></content:encoded>
            <category>release</category>
            <category>ozone-2.0.0</category>
        </item>
    </channel>
</rss>