OpenMetadata
Search…
Ingest Sample Data
This guide will help you to ingest sample data

Sample Data

We have created some sample data to take OpenMetadata for a spin without integrating with real data sources. The goal of sample data is to give a taste of what OpenMetadata can do with your real data.
Prerequisites
OpenMetadata is built using Java, DropWizard, Jetty, and MySQL.
    1.
    Python 3.7 or above

Run OpenMetadata Server

Please refer to the Run OpenMetadata section to run the server manually or using Docker.

Install from PyPI

Install Using PyPI
1
python3 -m pip install 'openmetadata-ingestion[sample-data, elasticsearch]'
Copied!

Ingest using Sample Pipelines consisting of

Sample Data, Tables, Usage, Users, Topics, and Dashboards.
1
#Make sure the OpenMetadata Server is up and running
2
cd openmetadata-0.4.0/ingestion
3
metadata ingest -c ./pipelines/sample_data.json
4
metadata ingest -c ./pipelines/sample_usage.json
5
metadata ingest -c ./pipelines/sample_users.json
Copied!

Index Sample Data into ElasticSearch

Start Elastic Search Docker:
The below command starts Elasticsearch docker that stores the indexed data in memory. If you stop the container it will lose any data on restart. Please re-run the metadata_to_es workflow again to index the data upon starting the container.
1
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.10.2
Copied!
Index sample data in ElasticSearch:
1
#Make sure the OpenMetadata Server is up and running
2
cd openmetadata-0.4.0/ingestion
3
metadata ingest -c ./pipelines/metadata_to_es.json
Copied!
Last modified 1d ago