Skip to main content

Discovery, lineage, and quality
in a single catalog.

OpenMetadata brings the metadata of databases, dashboards, pipelines, topics, and other sources into a single catalog, with the lineage, quality, and owners of each asset. Follow an ingestion from the source to the search and see how each asset gets a name in the catalog.

This feature is only available starting from version 3.0.

A metadata catalog answers which data exists, what it means, who owns it, how it is used, where it comes from, and where it goes. OpenMetadata is a metadata catalog in TDP, in both editions. In TDP Datacenter, Apache Atlas also catalogs the metadata of the Hadoop ecosystem.

Discovery

Find what exists

Each source becomes a service in the catalog, and everything it contains is indexed in the search engine of the web interface.

Lineage

Know where each piece of data comes from

Data lineage shows how data moves between tables, dashboards, and pipelines, down to the column level, and the impact of a change.

Quality

Trust what you find

The profiler measures each table, and the data quality tests check whether the data is complete, fresh, and accurate.

On this page

Watch an ingestion happen​

Press Play or step through one at a time. Underlined names lead to the Glossary.

SourceWhere the metadata comes from
TrinoDatabase service
IngestionWhat reads the source
OrchestratorAirflow or Kubernetes Jobs
Ingestion workflowConnector running
OpenMetadata ServerWhat organizes it
Web interfaceDiscovery and administration
REST APIValidates, names, and stores
StorageWhere the catalog lives
Metadata databaseEntities and relationships
Search engineOpenSearch or Elasticsearch
Step 1 of 6

1 The source is registered as a service

In the web interface, or automatically through the TDP integrations, the source enters the catalog as a service: the type, the connection parameters, and the filters for databases, schemas, and tables. A connection test confirms access before continuing.

  1. The source is registered as a service. In the web interface, or automatically through the TDP integrations, the source enters the catalog as a service: the type, the connection parameters, and the filters for databases, schemas, and tables. A connection test confirms access before continuing.
  2. The API hands the workflow to the orchestrator. OpenMetadata generates the ingestion process and hands it to an orchestration system, which creates, runs, and keeps the logs of the workflows. With Airflow as the orchestrator, each workflow is a DAG. With the native Kubernetes Jobs, a Job or a CronJob, without Airflow.
  3. The connector traverses the source. The orchestrator runs the workflow, and the connector reads the source from top to bottom: service, database, schema, table, and column, with the primary and foreign keys of each table.
  4. Each entity reaches the API. The workflow sends each entity to the REST API. The server validates the request, computes the fully qualified name from the hierarchy, and stores the entity as a JSON document, with the relationships kept separately.
  5. Each change becomes a version. Every operation that changes an entity leaves a record, and the entity gets a new version. A description or a tag on a column is a minor change. A removed column is a major change.
  6. The table shows up in search. The entity is indexed in the search engine, and the web interface can now find it. From then on, the table receives a description, an owner, and tags, and every change goes through the API again.
Figure 1 - An ingestion in OpenMetadata. The orchestrator runs the workflow. The connector reads the source and hands the entities to the API, which stores and indexes them.

Architecture​

Everything goes through the API: the web interface, the ingestion, and any custom integration.

OpenMetadata architecture: source services, ingestion, OpenMetadata Server and storageSource services, such as databases, dashboards, pipelines and messaging, are read by the connector of an ingestion workflow, built on the ingestion framework. The workflow sends the entities to the REST API of the OpenMetadata Server, which also hands the workflow to the orchestrator, Airflow or Kubernetes. The API writes the entities to the metadata database, MySQL or PostgreSQL, and indexes them in the search engine, OpenSearch or Elasticsearch. The browser accesses the web interface, which talks to the API. Each change to an entity generates a change event.BrowserSource servicesDatabasesDashboardsPipelinesMessagingIngestionIngestion workflowSource → SinkConnectorOrchestratorAirflowKubernetesJobsIngestion frameworkOpenMetadata ServerWeb interfaceREST APIentities in JSONChange eventsStorageMetadata databaseMySQL or PostgreSQLSearch engineOpenSearch orElasticsearch
Figure 2 - OpenMetadata architecture: source services, ingestion, OpenMetadata Server, and storage. Underlined terms lead to the Glossary.

What the figure shows:

  1. The source services are databases, dashboards, pipelines and messaging. Each source becomes a service in the catalog, and the connector reads it.
  2. The ingestion workflow follows the Source → Sink pattern. The connector reads the source and delivers the entities to the API.
  3. The orchestrator runs the workflow, which the API hands to it. It can be Airflow, with each workflow as a DAG, or the native Kubernetes Jobs, without Airflow.
  4. The ingestion framework is the foundation on which the workflow is built. Its requests reach the REST API.
  5. The browser accesses the web interface.
  6. The web interface is accessed by the browser and talks to the API. After indexing, it finds the entities in the search engine.
  7. The REST API is the center of OpenMetadata: it receives requests from the web interface, the ingestion framework, and custom integrations, stores the state of each entity, in JSON, in the metadata database, and indexes it in the search engine. In the figure, it is also what hands the workflow to the orchestrator.
  8. The change events are generated on each change to an entity.
  9. The metadata database, MySQL or PostgreSQL, stores the state of each entity. The API writes to it, and the double-headed arrow shows the round-trip path.
  10. The search engine, OpenSearch or Elasticsearch, is where the API indexes each entity and where the web interface finds it.

A single set of JSON Schemas describes the entities and generates the Java classes of the API, the Python classes of the ingestion, and the TypeScript types of the interface.

A name for every asset​

Every asset in the catalog has a fully qualified name, formed by the hierarchy it sits in.

Click each part of the name.

Service

The source system, registered in the catalog with its connector and connection parameters. It is the root of the name of everything that comes from it.

See in the Glossary
sample_data — Service
The source system, registered in the catalog with its connector and connection parameters. It is the root of the name of everything that comes from it.
ecommerce_db — Database
A database within the service. As long as it contains tables, the database cannot be deleted from the catalog.
shopify — Schema
Groups the tables and stored procedures of a database.
raw_product_catalog — Table
The table, with its columns and constraints. Each column adds one more part to the name.

The fully qualified name does not come from whoever stores the entity: the server computes it from the hierarchy. Each entity points to its parent by that name, and the API finds any asset by it.

From service to column​

In a database service, five levels, each inside the other.

Level 1 of 5

Service

The source system registered in the catalog, such as Trino or Hive. It holds the connection and is the root of the hierarchy.

  • ConnectorThe piece that knows how to read that type of source and turn what it finds into catalog entities.
  1. Service. The source system registered in the catalog, such as Trino or Hive. It holds the connection and is the root of the hierarchy.
    • Connector. The piece that knows how to read that type of source and turn what it finds into catalog entities.
  2. Database. A database within the service. As long as it contains tables, it cannot be deleted.
  3. Schema. Groups the tables and stored procedures of the database.
  4. Table. Columns, primary and foreign keys, uniqueness constraints and, in a view, the SQL that defines it. The database a table belongs to does not change after it is created.
    • Profiler. Row, distribution, and null statistics, in the table's Profiler tab.
    • Data quality test. Checks that the data is complete, fresh, and accurate, at the table and column levels.
  5. Column. Name, type, including structures such as JSON, ARRAY, STRUCT, and MAP, and role in keys. A new description or tag is a minor change. A removed column, a major change.
    • Data lineage. Which columns of other tables this column is derived from, and which depend on it.
Figure 3 - From service to column: each level contains the next. Connector, profiler, data quality tests, and lineage follow the levels they act on.

The other service types follow their own hierarchies: in a dashboard service, data models, dashboards, and charts; in a pipeline service, pipelines and the status of each run; in a messaging service, topics.

Each workflow type adds a layer of information, with its own schedule and filters.

Metadata

Discovers the assets of each service and brings along the lineage of views, down to the column level.

Lineage

Reads the source's query history and table creation information to show where the data passes through. The period read is a workflow parameter, counted in days, and table and column lineage can also be edited manually.

Profiler

Runs after the metadata ingestion and extracts row, distribution, and null percentage statistics, over a configurable sample. The result appears in the table's Profiler tab.

Data quality

Native tests, at the table and column levels, check whether the data is complete, fresh, and accurate, in the database connectors. The tests run in the profiler workflow, and failures can trigger alerts.

Why OpenMetadata​

End to end

One tool for metadata management

Discovery, governance, data quality, observability, and collaboration between people, on the same catalog.

One vocabulary

JSON Schemas as the foundation

The same schemas define the entities for the API, the ingestion, and the interface, which speak the same language.

API first

Everything goes through the REST API

The web interface, the connectors, and custom integrations use the same API to read from and write to the catalog.

History

Each asset has versions

Every change to an entity is recorded, and the history shows what changed and when.

Traceability

Lineage down to the column

For databases, dashboards, and pipelines, with impact analysis of each change.

Connectivity

Connectors for many sources

Databases, dashboards, pipelines, messaging, ML models, storage, search, and other catalogs, plus custom connectors.

Open source

OpenMetadata is an open-source project, distributed under the Apache License 2.0.

In the TDP editions​

Available in the TDP editions
EditionVersionDocumentation
TDP Datacenter1.9.1TDP Datacenter components
TDP Kubernetes1.12.4 · chart tdp-openmetadata 3.0.3Configuration in TDP Kubernetes

In TDP Datacenter​

In TDP Datacenter, OpenMetadata is a stack service, installed and managed by Ambari.

Service components

OPEN_METADATA_SERVER (master, one instance). The OPEN_METADATA_SERVER requires AIRFLOW_WEBSERVER (Airflow). Component category.

Orchestrator

The ingestion workflows run on the cluster's Airflow, whose address is set in PIPELINE_SERVICE_CLIENT_ENDPOINT, in the openmetadata_pipeline configuration.

Metadata database

PostgreSQL or MySQL, chosen in DB_SCHEME, with the server in DB_HOST and the database in OM_DATABASE. Creating the database in PostgreSQL is part of the Ambari installation.

Search engine

SEARCH_TYPE chooses between the embedded engine and an external OpenSearch or Elasticsearch, pointed to in ELASTICSEARCH_HOST, in the openmetadata_search configuration.

Services that can be enabled in Ambari

With integration.enabled, in the openmetadata_integration configuration, the catalog receives a service for each enabled cluster component: Trino, Hive, Iceberg, Delta Lake, Druid, and Spark as data sources; Superset as dashboards; Airflow, NiFi, and Flink as pipelines; Kafka as messaging; and Atlas as a metadata service.

Authentication and TLS

Basic or LDAP authentication, in AUTHENTICATION_PROVIDER (openmetadata_ldap configuration), and TLS that can be enabled in use_ssl.enabled (openmetadata_ssl configuration). See Security in TDP Datacenter.

Dependencies

Ambari requires in the cluster Airflow.

In TDP Kubernetes​

In TDP Kubernetes, OpenMetadata is installed by the tdp-openmetadata chart, which brings up the server with the metadata database and the search engine.

Metadata database

By default, a MySQL bundled in the chart, in global.TDP-Settings.database.mysql.enabled. As an alternative, an external PostgreSQL from the tdp-postgresql chart, in global.TDP-Settings.database.postgresql.enabled. The two options are mutually exclusive. With the bundled MySQL, the database volumes and Secrets remain after uninstallation, so reinstalling in the same namespace finds the old metadata. See Uninstallation.

Search engine

A bundled OpenSearch, defined in tdp-openmetadata.openmetadata.config.elasticsearch.searchType.

Orchestrator

The ingestion workflows run as native Kubernetes Jobs, without Airflow: the chart does not install Airflow. The orchestrator type is set in tdp-openmetadata.openmetadata.config.pipelineServiceClientConfig.type.

Services registered at installation

A Job after installation can register ClickHouse and Trino as databases, Superset as dashboards, Airflow as pipelines, and Kafka as messaging in the catalog. The Job is turned on in datasourcesIntegration.enabled, enabled by default, and registers only the services turned on in each one's block, all of them off by default. Airflow is registered through the Airflow 3 REST API (Service <release>-api-server), with the user name and password of an Airflow user, and the Job log shows the passwords masked; see OpenMetadata Integrations.

Authentication

Basic or LDAP, in tdp-openmetadata.openmetadata.config.authentication.provider. LDAP comes disabled by default, and LDAP login uses the user's email. The security configuration comes from the chart values, and changes made only through the interface may be overwritten. See OpenMetadata Security.

External access

Through Ingress, in TDP-Settings.gateway.ingress.enabled, or through Gateway API, in TDP-Settings.gateway.gatewayApi.enabled, one of the two.

In both editions, the ingestion follows the same path: the server hands the workflow to an orchestrator, the connector reads the source, and the API stores and indexes the entities.

What changes is the orchestrator: in TDP Datacenter, the cluster's Airflow. In TDP Kubernetes, native Jobs, without Airflow, defined in tdp-openmetadata.openmetadata.config.pipelineServiceClientConfig.type.

Next steps​

Sources​

OpenMetadata - High Level Design

OpenMetadata - Ingestion Framework Deployment

OpenMetadata - Data Lineage

OpenMetadata - Data Quality

OpenMetadata - Connectors