Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

All use cases
  1. Home
  2. Use cases
  3. Cloudera Impala and Hive
  4. Moving Hive Tables to Iceberg on Cloudera
Cloudera Impala and HiveTelecom

Moving Hive Tables to Iceberg on Cloudera

Convert large, slow Hive tables in waves, with a query test and a rollback at every step.

The challenge

What teams are up against

Typical situation: a telecom keeps call-detail data in very large Hive tables. Metadata operations are slow, partition changes are painful, and several engines need the same data.

Our approach

How we deliver it, step by step

  1. 01

    Rank the tables

    By size, metadata pain and use, and leave static tables alone.

  2. 02

    Choose a method per table

    In-place conversion or rewrite into a new Iceberg table.

  3. 03

    Test

    Run the ten key queries before and after and compare results and times.

  4. 04

    Cut over

    Readers first, writers last, with the original kept.

  5. 05

    Maintain

    Compaction and snapshot expiry on a schedule.

Architecture

The components involved

From the top of the stack down

Hive, Impala and SparkEngines
Wave plan, tests and rollbackProcess
Hive Metastore catalogCatalog
Hive tables converted to IcebergStorage

Cloudera documents an in-place migration for Hive tables that sets the Iceberg storage handler, and Impala can convert tables with CONVERT TO ICEBERG on current releases. A rewrite creates a new Iceberg table with the layout you want.

HiveImpalaApache IcebergCONVERT TO ICEBERGHive Metastore

Outcomes

What changes when it is in place

Tables moved in waves with a tested rollback.

Query results confirmed equal before and after.

Metadata and query times recorded for each wave.

Why Duczer East

Senior practitioners, from scope to delivery

We test each wave and keep the rollback until sign-off. We also say which tables should not move.

About Duczer East

FAQ

Questions we are asked about this

Is the data rewritten?

Not for an in-place conversion. A rewrite creates new files.

Can we roll back?

Yes, if the original table or its files are kept until the test passes.

Which engines read the result?

Hive, Impala and Spark can read Iceberg tables on Cloudera, depending on release.

Let's Talk

Talk through this use case

Tell us about your systems and where you are today. A senior practitioner replies, and only your email is required.

Get a quote