Buying snapshot
Scroll sideways to see all columns. With a keyboard, focus this table and use the arrow keys.
| Decision point | What Apache Hudi states |
|---|---|
License | Open source, Apache-2.0 license |
Included in the open-source project | ACID transactional guarantees, incremental processing and incremental queries, time travel, and automatic table services (clustering, compaction, cleaning, file sizing, indexing) |
How you get it | Build from the GitHub source on a Unix-like system with Java 11 or 17, Git and Maven (>=3.6.0); the build produces Spark and Flink bundle jars |
Compute engines | Built-in ingestion tools for Apache Spark and Apache Flink users; default build targets Spark 3.5.3 and Flink 2.2 |
Storage | All data and metadata sit on cloud storage in open formats; listed lake storage includes Amazon S3, Google Cloud Storage, Azure Blob Storage, Apache Hadoop and MinIO |
Catalog | Catalog sync with Apache Hive Metastore, AWS Glue, Google BigQuery, Apache XTable and more |
Choosing how to run it
Your own Spark or Flink. Hudi's table services can run inside the Spark or Flink writers or be operated on their own. Either way, the compute is yours to size and pay for.
A data processing platform. hudi.apache.org lists Databricks, AWS EMR, Azure HDInsight and Onehouse among its data processing integrations. If you run Hudi on one of these, ask that platform for its price for your workload.
How the cost is built
The Apache-2.0 license covers the Hudi code. A running Hudi lakehouse adds three things you pay for elsewhere: compute for ingestion, queries and table services; the cloud storage that holds data and metadata; and the catalog you sync tables to. Budget each one with the provider you choose for it, in your region.
What drives the bill
Compaction. Hudi runs asynchronous compaction of row-oriented data into columnar formats for streaming writers. Read optimized queries depend on a compaction policy, so query speed and compaction compute are tied.
Clustering. Clustering and space-filling curve algorithms rewrite data layout, with pluggable scheduling strategies. How often they run sets their compute cost.
Retention. Cleaning older versions and time-to-live management expire old data and reclaim storage space. Savepoints keep table versions for recovery, and the versions you retain are what use storage.
Indexing. The indexing subsystem is maintained automatically by writes, so index upkeep is part of every write job.
Costs that are easy to miss
Java and runtime pins. Spark 4.0, 4.1 and 4.2 bundles need Java 17. The native bundle (Hudi plus Apache DataFusion Comet) needs Java 17 and Linux with glibc at runtime, and does not exist for Spark 3.3 or 4.2.
Upgrade before changing compression. ZSTD is the default Parquet codec with Spark 3.5 and newer. Spark 3.3 and 3.4 keep GZIP because reading ZSTD files there can leak off-heap memory (PARQUET-2160), so the project says to upgrade to Spark 3.5 or newer before using ZSTD.
Scala 2.13 builds. Only the Spark-related bundles build with the scala-2.13 profile; the Hudi Flink bundle cannot.
Our take
If your team already runs Spark or Flink on cloud storage, Hudi is software you add to that stack, and the budget question is the compute its table services use and the storage your retained versions take. If not, the platform you choose to run it is the real purchase, so price that platform first.