Metadata harvesting from deployments

Cloudera Unified Data Fabric harvests metadata and lineage from each data engine through a data source and its connections, using scheduled extraction and real-time updates.

Cloudera Unified Data Fabric does not store or move your data. It harvests metadata about the data from the engines that manage it, such as Hive, Cloudera Lakehouse Engine, Cloudera Data Engineering, Cloudera Streams Messaging, Cloudera Harmony Catalog, and Cloudera AI. The harvested metadata becomes the catalog that you discover and enrich on the Data 360 page, the lineage that you explore, and the assets that governance policies apply to.

Data sources and connections

A data source represents one instance of a data engine in one environment, for example, the production Hive deployment or the development Cloudera Lakehouse Engine deployment. Deployments group connections by environment and technology, so that metadata harvesting and governance policies stay scoped to the right runtime.

Each data source has a technology, an environment, a display name, and a unique name that combines the technology and the deployment name. The technology and the name cannot be changed after the data source is created. The data source is also an asset in the catalog with its own URN, and its name is part of the URN of every asset harvested from it. For more information, see Asset identifier (URN).

A connection belongs to a data source and defines how Cloudera Unified Data Fabric reaches the engine and what it harvests. A connection stores the following:

  • The address of the engine and the credentials that Cloudera Unified Data Fabric uses to read its metadata. The required settings depend on the technology.
  • An optional resource filter that limits which resources are harvested.
  • Whether real-time updates are turned on.
  • One or more extraction schedules.

How data sources are registered

A data source is registered in one of the following ways:

  • Automatically, when you deploy an engine with Cloudera Unified Data Fabric and onboarding is enabled. The engine registers its deployment and reports metadata and lineage as it runs.
  • Manually, on the Data Sources page, when you create a data source and then add a connection to it.

For the manual steps, see Creating a data source and Creating a connection.

How metadata is harvested

A connection harvests metadata in two complementary ways:

Scheduled extraction
At each scheduled time, Cloudera Unified Data Fabric reads the current metadata from the engine, such as its databases, tables, columns, and views. The first extraction run imports the resources that already exist. Later runs pick up changes since the previous run. Each run is recorded in the extraction run history of the connection, with its status and duration.
Real-time updates
The engine reports changes as they happen, such as a table that is created, altered, or dropped, or a query or job that reads from one asset and writes to another. Real-time updates keep the catalog current between scheduled runs.

Changes from both methods are queued and applied to the catalog asynchronously, and then indexed for search. A new or changed asset can take a short time to appear in Data 360 search results after an extraction run completes or a change is reported.

Supported technologies

You can create deployments for the following technologies:

Table 1. Supported technologies
Technology Catalog asset types created
Cloudera AI Workspace cai:deployment, cai:project, cai:experiment, cai:job, cai:session, cai:project_file, and related run assets such as cai:job_run and cai:experiment_run.
Hive hive:deployment, hive:database, hive:table, and hive:view.
Cloudera Streams Messaging kafka:deployment, kafka:broker, and kafka:topic.
Cloudera Harmony Catalog irc:deployment, irc:catalog, irc:namespace, irc:table, and irc:view.
Cloudera Data Engineering Lineage assets such as spark:deployment, spark:application, spark:job, spark:job_run, and spark:job_operation for jobs that run in Cloudera Data Engineering.
Cloudera Lakehouse Engine trino:deployment, trino:catalog, trino:schema, and trino:table.

Metadata harvesting and lineage

Lineage can show only what Cloudera Unified Data Fabric has harvested. Lineage connects assets from different data sources, so to see a complete flow from source to report, connect every engine that the data passes through. If a query or job refers to an asset from an engine that is not connected, that asset appears as inferred. For more information, see Lineage.