Apache Celeborn
| Developer | Apache Software Foundation (originally Alibaba) |
|---|---|
| Latest release | 0.7.0 (2026-08-16) |
| Written in | Java, Scala |
| Type | Remote shuffle service |
| License | Apache License 2.0 |
| Website | celeborn.apache.org |
| Repository | github.com/apache/celeborn |
| Related | Apache Spark, Apache Flink, Apache Uniffle, Shuffle |
Apache Celeborn is an open source remote shuffle service: a cluster of master and worker servers that stores and serves the intermediate shuffle data of Apache Spark, Apache Flink and Hadoop MapReduce jobs, so that the data does not live on the compute nodes' local disks. The project describes itself as an intermediate data service whose current focus is shuffle data.[1] Celeborn is a top-level project of the Apache Software Foundation.
History
Celeborn was started at Alibaba in 2020 under the name "RemoteShuffleService" and open sourced in 2021.[2] It entered the Apache Incubator on 2022-10-18, made its first Apache release (0.2.0-incubating) on 2023-03-01, and graduated to a top-level project on 2024-03-21.[3]
The latest release is 0.7.0, published on 2026-08-16.[4] In 0.3.0 the Spark shuffle manager class was renamed from org.apache.spark.shuffle.celeborn.RssShuffleManager to org.apache.spark.shuffle.celeborn.SparkShuffleManager.[1]
Architecture
A Celeborn cluster has three components:[1]
- Master manages resources and keeps shared state consistent across master nodes with the Raft protocol.
- Worker handles read and write requests and merges the data for each reducer.
- Client, including the LifecycleManager, which keeps the metadata of each shuffle and runs inside the Spark driver.
Celeborn balances load with slots, a logical count of how many partitions a worker can hold. A worker's slot count is its total usable disk size divided by the average shuffle file size, and the master spreads partitions across workers by tracking slot usage.[1]
How does a shuffle work with Celeborn?
In a Celeborn shuffle, map tasks push their data to workers instead of writing it to local disk. The README describes the steps: mappers register the shuffle with the LifecycleManager, which requests slots from the master; workers reserve the slots and create files; mappers push data to the assigned workers, which merge it, replicate it to a peer and flush it to disk; once all mappers finish, the workers commit the files, and reducers ask for file locations and read the merged data.[1]
Server-side replication is controlled by celeborn.client.push.replicate.enabled (default false). The deployment guide recommends turning it on, except when there is only one worker or when HDFS is the storage.[1][5]
Which engines does Celeborn support?
The 0.7.0 release supports:[1][6]
- Apache Spark 3.0 through 4.2. Spark 4.x clients need Java 17 and Scala 2.13.
- Apache Flink 1.18 through 2.3, for batch jobs only. Flink loads Celeborn through its
shuffle-service-factory.classsetting. - Hadoop MapReduce 3.
- Apache Tez, with a client the README marks as experimental.
How do you use Celeborn with Apache Spark?
A Spark application uses Celeborn by putting the Celeborn client jar on the classpath and replacing the shuffle manager. The deployment guide's settings include:[1]
spark.shuffle.manager org.apache.spark.shuffle.celeborn.SparkShuffleManager
spark.serializer org.apache.spark.serializer.KryoSerializer
spark.celeborn.master.endpoints clb-1:9097,clb-2:9097,clb-3:9097
spark.shuffle.service.enabled false
# Dynamic allocation without the external shuffle service (Spark 3.5.0 or later)
spark.shuffle.sort.io.plugin.class org.apache.spark.shuffle.celeborn.CelebornShuffleDataIO
spark.dynamicAllocation.shuffleTracking.enabled false
Spark selects the shuffle implementation with spark.shuffle.manager and the shuffle storage implementation with spark.shuffle.sort.io.plugin.class; Celeborn plugs into both.[7] A Kryo serializer is required because the Java serializer does not support relocation of serialized objects. The guide also recommends keeping AQE and skew-join handling on, and setting spark.sql.adaptive.localShuffleReader.enabled to false.[1]
How is Celeborn deployed?
Celeborn runs as its own cluster, separate from the compute engine. On hosts, operators start masters and workers with sbin/start-master.sh and sbin/start-worker.sh; for high availability, several masters form a Raft group.[8] On Kubernetes, the project provides a Helm chart.[9]
Workers store shuffle data on local disks or remote storage. celeborn.storage.availableTypes accepts MEMORY, HDD, SSD, HDFS, S3 and OSS, with HDD as the default.[5] Workers can be decommissioned through a REST API, which lets an operator drain a worker before removing it.[10]
Celeborn compared with Apache Uniffle
Apache Uniffle is the other remote shuffle service at the ASF. Both push map output to dedicated servers and plug into Spark through spark.shuffle.manager. Celeborn's 0.7.0 release covers Spark up to 4.2 and Flink batch jobs, while Uniffle 0.10.0 lists Spark 2.3 to 3.5, MapReduce and Tez.[1][11] The Remote shuffle service article has a full comparison table.
See also
References
- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 Apache Celeborn README (v0.7.0). Apache Software Foundation.Retrieved 2026-11-23.
- ↑ Celeborn Proposal. Apache Incubator.Retrieved 2026-11-23.
- ↑ Celeborn Project Incubation Status. Apache Incubator.Retrieved 2026-11-23.
- ↑ Download. Apache Celeborn.Retrieved 2026-11-23.
- ↑ 5.0 5.1 Client configuration (v0.7.0). Apache Software Foundation.Retrieved 2026-11-23.
- ↑ Celeborn quick start (v0.7.0). Apache Software Foundation.Retrieved 2026-11-23.
- ↑ config/package.scala (v4.3.0). Apache Software Foundation.Retrieved 2026-11-23.
- ↑ Deploy Celeborn (v0.7.0). Apache Software Foundation.Retrieved 2026-11-23.
- ↑ Deploy Celeborn on Kubernetes (v0.7.0). Apache Software Foundation.Retrieved 2026-11-23.
- ↑ Decommissioning (v0.7.0). Apache Software Foundation.Retrieved 2026-11-23.
- ↑ Apache Uniffle README (v0.10.0). Apache Software Foundation.Retrieved 2026-11-23.