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.

GuideCloudera / Data Services & AI6 min read

Apache Atlas lineage on Cloudera: setup, hooks and gaps

What lineage captures, hooks by engine and the gaps to name

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: Private AI & Data Architecture
On this page
  1. What lineage captures
  2. Hooks by engine
  3. Gaps to expect
  4. A setup sequence
  5. Reviewing lineage
  6. Questions we hear
  7. A worked check: one report field
  8. A first engagement

Apache Atlas captures lineage on Cloudera by collecting metadata from hooks in the engines that run your queries, then linking inputs to outputs as a graph. Cloudera documents default lineage sources of Hive, Impala and Spark, and lineage only appears for work those hooks see. Setting it up is mostly a question of which engines you run, which hooks are on and where the gaps are. This guide covers what lineage captures, hooks by engine, the gaps to expect and how to review lineage for audit. It supports our Cloudera SDX, Ranger and Atlas consulting page.

What lineage captures

Atlas stores entities (tables, columns, files, processes) and the relationships between them. A query that reads two tables and writes a third becomes a process entity with two inputs and one output. Cloudera's metadata collection overview lists the collection sources, and its governance overview describes the predefined hooks and bridges: hooks capture activity as it happens, and bridges import metadata that already exists.

Three things follow from that design:

  • Lineage is only as complete as the hooks. Work that bypasses a hooked engine leaves no trail.
  • Lineage is table and column level for supported engines, not row level. It shows where data came from, not which records.
  • Files appear when a hooked engine references them. Cloudera's lineage documentation says filesystem operations themselves are not tracked. {VER}

Hooks by engine

EngineLineage in AtlasCheck
Hive (HiveServer)Default lineage source; queries become process entitiesConfirm the Atlas hook is enabled on HiveServer and the Hive Metastore hook is on
ImpalaDefault lineage source; queries appear as processes and affected tables appear as Hive entities. Impala lineage events carry an operation type in recent releases per ClouderaCheck your release notes for the lineage fix level; see Cloudera's Impala lineage page
SparkDefault lineage source through the Spark Atlas connector; actions such as CREATE TABLE AS SELECT and INSERT map to Spark process entitiesCloudera notes out-of-order collection between the connector and the Hive Metastore can record unexpected relationships
NiFi, Sqoop and othersPredefined hooks exist for other tools per ClouderaEnable only those you run
Everything else (custom code, direct file copies, external tools)Not captured unless you add entities through the Atlas APIList these in your gap register

Hook names and defaults change between releases.

Gaps to expect

  • Hive tables to files. A Cloudera known-issues page for an older release says Atlas did not create lineage between Hive tables and backing HDFS files for CTAS run in Impala or Spark. Check whether this still applies to your release.
  • One Spark session, one process. Cloudera's documentation says Atlas can create a single process entity for a Spark session, which makes job-level lineage coarse.
  • Out-of-order events. If Hive Metastore events and Spark events arrive in a different order, relationships can look wrong.
  • Work outside hooked engines. Shell scripts, external ETL tools and direct file moves leave gaps.
  • Short-lived and temporary tables. They create noise and rarely matter for audit. Decide whether to hide them.

A setup sequence

  1. List the engines and tools that read and write regulated data.
  2. Match each to a hook or bridge and a release that supports it.
  3. Turn on hooks in a test cluster, run a known pipeline and compare the Atlas graph with your diagram.
  4. Record every difference in a gap register with an owner.
  5. Add missing links through the Atlas API only for the pipelines the audit needs.
  6. Import existing metadata with a bridge where history matters.
  7. Repeat the check after each upgrade; see our CDH and HDP to CDP upgrade guide.

Reviewing lineage

Lineage is useful to an examiner only if you can follow one data element from report to source and explain each hop. Pick three or four critical data elements, such as a regulatory report field, and walk them back through Atlas. Write down where the graph stops and why. A gap you have named and explained is far better received than one found by someone else. See data lineage for AI and audit and the worked example BCBS 239 data governance.

Review with a table you keep:

Data elementSourceHops in AtlasWhere it stopsOwner and fix
Report field ACore system extract[to complete][to complete][to complete]

Questions we hear

Does Atlas lineage cover NiFi flows? Cloudera lists predefined hooks for several tools; confirm each against your release.

Can lineage be edited? Yes, through the Atlas API, but manual entries need an owner and a review, or they go stale.

Is Atlas the only option? No. See Apache Atlas vs DataHub and lineage tools compared.

A worked check: one report field

An illustrative scenario, not a client. An analyst needs to show where "exposure amount" on a regulatory report comes from. The team walks the field back through Atlas and records what it finds.

HopWhat Atlas showsWhat the team writes down
Report tableCreated by a Spark job from two staging tablesProcess entity found; job owner named
Staging tablesLoaded by a Hive INSERT from a landing tableHive hook working; lineage complete
Landing tableLoaded by an external ETL tool, no hookGap: lineage stops; add the link by API and name an owner
Core system extractNot in AtlasOut of scope for Atlas; documented in the data dictionary

The result is a short, honest note: three hops captured, one gap, one owner. That is a better position in an examination than a graph that looks complete but cannot be explained.

A first engagement

Duczer East reviews your Atlas lineage against three critical data elements, produces a gap register and fixes the hooks that matter. Scope is agreed in writing first.

Related: SDX, Ranger and Atlas consulting · tag-based access from Atlas to Ranger · tag-based access control on Cloudera

Frequently asked questions

What does Apache Atlas lineage capture?

Entities such as tables and columns and the processes that link inputs to outputs, collected by hooks in the engines that run the work.

Which engines feed lineage on Cloudera?

Cloudera documents Hive, Impala and Spark as default lineage sources, with predefined hooks for other tools.

Does Atlas capture file operations?

Cloudera's lineage documentation says files appear when a hooked engine references them, but filesystem operations themselves are not tracked.

How do I find lineage gaps?

Walk a few critical data elements from report to source and record where the graph stops.

Do upgrades affect lineage?

They can. Retest hooks and a known pipeline after each upgrade.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote