Talk with our engineers by joining the new Onehouse community Slack!

How ETS made Onehouse its standard ingestion layer on AWS, starting with Oracle CDC and legacy Hudi tables

ETS + Onehouse: From Daily Batches to 30-Minute Data Freshness.

TL;DR

  • Problem. ETS's AWS lake ran on Apache Hudi™ 0.8 tables fed by AWS DMS and Deltastreamer jobs on EMR. New data took 12 to 24 hours to reach analysts. Upgrading hundreds of tables through EMR meant a large migration with no downtime window, so the tables stayed on 0.8.
  • What changed. Onehouse OneFlow now captures changes from Oracle and PostgreSQL and writes them to the same Hudi tables on Amazon S3. ETS no longer runs DMS tasks or EMR clusters for migrated tables. ETS started with its hardest table: a partitioned PostgreSQL table that DMS could only reload in full. OneFlow captured it incrementally, and the table was in production within a few hours.
  • How the migration worked. OneFlow took over each existing table at its current S3 path and Glue table name. On the first sync it upgraded the table to Hudi 0.15 and kept the record, partition and precombine keys that the Deltastreamer job used. Reports and queries kept running against the same tables.
  • Results. ETS has onboarded over 250 flows, more than 100 of them in a single day. Setting up a new table dropped from 1 to 2 days to under 4 hours. Data now reaches analysts in 30 minutes, down from 12 to 24 hours.

About ETS and its data platform

ETS (Educational Testing Service) is a global nonprofit education organization founded in 1947 and headquartered in Princeton, New Jersey. ETS develops, administers and scores more than 50 million tests annually, including the TOEFL®, TOEIC®, GRE® and Praxis® assessments, in more than 180 countries.

ETS operates an AWS-based data lakehouse that supports reporting, analytics and other data-driven use cases across the organization. Operational systems, including Oracle and PostgreSQL databases, feed data into the lakehouse, where data is stored in Amazon S3 using Apache Hudi and cataloged through AWS Glue.

The lakehouse contains hundreds of tables supporting data consumers across ETS. Historically, ingestion from operational databases relied on AWS DMS and EMR-based processing to move and prepare data for downstream consumption. ETS partnered with Onehouse to simplify this architecture and reduce the infrastructure and operational costs associated with that process.

What made the legacy lake hard to run?

With their legacy pipelines, ETS named five sources of friction:

  • Multi-staging bottleneck. Raw S3 folders delayed access to ready-to-use data.
  • DMS and EMR infrastructure cost. AWS DMS replication tasks ran for every source, and expensive EMR clusters ran 12 to 24 hour batches.
  • Pipeline fragility. The team managed 15 to 30 raw configurations and custom Lambda rules.
  • Slow time to value. Onboarding a single new table took 1 to 2 days of manual scripting and validation.
  • Transaction visibility delay. Downstream users waited at least 12 hours before new source transactions appeared in the Hudi tables.

Hand-built Hudi 0.8 pipelines on EMR Deltastreamer

ETS built its first Hudi tables several years ago with Hudi 0.8, written by Deltastreamer jobs on Amazon EMR. Tables written by Hudi 0.8 are at table version 1. They do not capture the record key or the key generator in the table’s properties, and later Hudi versions expect both.

That left ETS with a hard choice. Staying on Hudi 0.8 meant no access to newer indexing, table services and engine support. An upgrade through the existing EMR route meant key generator mismatches across several hundred tables, an EMR and Spark version jump and Glue sync changes. There was also no downtime window, because downstream queries had to keep running.

How the legacy pipeline worked

The sources are busy transactional databases. AWS DMS tasks exported data from each database as Parquet files into a bronze zone on Amazon S3. EMR Deltastreamer jobs then read that bronze data and rewrote the Hudi tables, often with a purge and a full bootstrap. AWS Glue catalogued the results, and analysts queried them through Amazon Redshift Spectrum. More EMR Spark jobs read the bronze Hudi tables and wrote the dimension and fact tables, also as Hudi tables in the silver and gold layers.

Before Onehouse, data took five hops from database to analyst: source databases, AWS DMS export tasks, an S3 bronze zone of raw Parquet, EMR Deltastreamer purge and bootstrap batches, the AWS Glue Data Catalog, and Amazon Redshift Spectrum. AWS DMS, the S3 bronze zone and EMR Deltastreamer are the stages OneFlow replaces.
Figure 1: ETS ingestion before Onehouse.

Why ETS chose Onehouse

ETS wanted a managed ingestion layer that kept its data open on S3 and did not force a rebuild of the lake. Onehouse met four requirements:

  • Keep the existing tables. OneFlow can take over a legacy Hudi table at its current S3 path and upgrade it in place. There is no new table, no rename and no change for the people who query it.
  • Managed CDC. The ETS team configures a source and a flow; it does not operate the streaming stack.
  • Table services included. Compaction, cleaning and catalog sync to AWS Glue run automatically for every table.
  • Open formats, AWS-native. Data stays in Apache Hudi on Amazon S3, registered in AWS Glue and queried from Amazon Redshift Spectrum as external tables. Any engine that reads Glue tables can query it, so there is no lock-in.

Architecture: Oracle and PostgreSQL to S3 with OneFlow

Every ETS source lands in S3 through one OneFlow pipeline. Oracle, PostgreSQL and Amazon S3 JSON files from Amazon Connect feed Onehouse OneFlow, which runs managed CDC with Debezium and Kafka, ingestion of upserts, deletes and schema changes, and table services in the ETS AWS account. OneFlow writes Apache Hudi tables on Amazon S3, registered in the AWS Glue Data Catalog and queried by analytics teams through Amazon Redshift Spectrum.
Figure 2: ETS ingestion architecture on AWS.

How OneFlow captures Oracle and PostgreSQL changes

OneFlow runs inside the ETS AWS account as part of the larger Onehouse deployment. Each Oracle or PostgreSQL database is registered once as a OneFlow source, and file sources on S3, such as Amazon Connect’s JSON data, use the same flow model. OneFlow runs Debezium and Kafka to read each database change log, so ETS does not operate either. It writes the changes incrementally to Apache Hudi tables on Amazon S3 and keeps AWS Glue in sync.

SQL transformations with the Onehouse SQL transformer

The legacy EMR Deltastreamer jobs applied business logic through SQL scripts. ETS migrated those scripts to the Onehouse SQL transformer, which runs the SQL inside the flow and applies it at the row level as records arrive. The transformation logic now lives with the flow that uses it, and there is no separate Spark job to schedule or maintain.

Querying with Amazon Redshift Spectrum

After each commit, OneFlow syncs the table schema and location to AWS Glue. ETS analysts query these tables directly from Amazon Redshift Spectrum as external lakehouse tables. The data stays in open Apache Hudi format on S3, so ETS has an open lakehouse with no lock-in: any engine that reads the Glue Data Catalog can query the same tables.

Migrating legacy Hudi tables in place

The migration requirement was that consumers see no change: same S3 paths, same Glue table names. ETS and Onehouse met it in two steps.

The in-place takeover

OneFlow writes to the existing Hudi table’s S3 path. On the first sync it upgrades the table from Hudi 0.8 (table version 1) to Hudi 0.15 (table version 6). It adds the table properties that modern Hudi needs, such as the table checksum, and keeps the existing key generator.

OneFlow uses the same record, partition and precombine keys that the legacy Deltastreamer job used. Updates and deletes land on the existing record, so there are no duplicates after takeover. After takeover, updates merged into the existing file groups and validation confirmed two things: row counts matched the source, and the most recently updated source records were in the table after the latest commit.

Taking over the existing Glue table

OneFlow accepts an existing AWS Glue table as its destination. For each production table, ETS paused the EMR Deltastreamer job and configured a flow with the same Glue database and table name. OneFlow then took over that table and updated its Glue metadata with the new table version, schema and commits. There was no new table and no pointer to switch.

Starting with the hardest table

ETS began with its single most complex table: a busy PostgreSQL table split into native partitions. AWS DMS could not run incremental CDC on the partitioned table, so the legacy pipeline reloaded the full table into Hudi on every run. With the database publishing changes under the root table name (publish_via_partition_root), OneFlow reads every partition’s changes as one table and writes them incrementally. ETS onboarded that table with OneFlow and put it into production within a few hours.

Results

  • Seamless upgrade from Hudi 0.8. Legacy Hudi 0.8 tables were upgraded in place, keeping their S3 paths, commit history and Glue entries.
  • No consumer impact. OneFlow took over the existing Glue tables and updated their metadata in place. Reports and queries kept running against the same table names.
  • No streaming stack to operate. ETS no longer operates DMS tasks, Deltastreamer jobs, or EMR clusters to ingest migrated tables.
  • Lower ingestion cost. AWS DMS replication tasks and EMR batch clusters are retired for migrated tables, so ETS no longer pays for that infrastructure. The landing zone on Amazon S3 also needs much less storage.
  • One ingestion layer. Oracle, PostgreSQL and S3 sources now flow through OneFlow, and new sources onboard by configuration instead of new code.

ETS has already onboarded over 250 flows across development, QA and production, with over 100 flows onboarded in a single day. Based on usage over the past few months, the ETS team estimates that migrating to Onehouse saves 670 to 1,150 engineering hours a year in pipeline maintenance. Setting up a new source dropped from 1 to 2 days of manual scripting and validation per table to under 4 hours.

What’s next

The first phase moved the bronze layer to OneFlow. ETS is now looking at these next steps with Onehouse:

  • Silver and gold layers on Quanton. EMR jobs still build the dimension and fact tables. ETS plans to move these SQL jobs to Onehouse Quanton and retire the remaining EMR clusters.
  • Near real-time data for AP scoring. During the AP exam season each spring, raters need current data to score on time. ETS plans to use OneFlow to land its most time-critical tables within a few minutes of a change at the source, synced to the catalog and ready to query. Raters then score against what is happening now, not against the last batch snapshot.
  • Direct queries on the lake. ETS plans to use Onehouse Lakegres side by side with Amazon Redshift Spectrum to query the Glue tables directly.
  • Vector embeddings for unstructured data. ETS keeps PDF score sheets, video, image and audio files on Amazon S3. ETS plans to use Onehouse to read these files and write vector embeddings into Hudi tables.
  • A shared semantic layer. ETS builds its semantic models in Power BI today. ETS plans to use the Onehouse semantic layer to build these models once, so that Power BI can use them without a rebuild.

In their words

“Onehouse has changed how we think about ingestion at ETS. It’s not just about moving data into the lakehouse; it’s about building a repeatable, factory-style model that gets new data sources onboarded faster and with far less effort. We were able to retire AWS DMS and EMR, eliminate hand-coded Spark jobs and Hudi property files, and remove the S3 staging layer, which delivered meaningful AWS cost savings on its own. With a single, streamlined ingestion pattern, we’ve cut operational overhead, improved data integrity, and shortened time to market. The result is a simpler architecture that is easier to run, easier to scale, and a stronger foundation for everything we build on our data.”

Chapman Ng, Director, Global Data and Analytics, ETS

Get started

To see how OneFlow handles Oracle CDC, read Near real-time Oracle CDC, without pipeline firefighting. Join the Onehouse community Slack, or try Onehouse free.

Read More:

Subscribe to the Blog

Be the first to hear about news and product updates

We are hiring diverse, world-class talent — join us in building the future