mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-23 09:22:18 +00:00
81 lines
1.9 KiB
Markdown
81 lines
1.9 KiB
Markdown
---
|
|
description: >-
|
|
This guide will help install Sdscheduler and schedule connectors for
|
|
ingestion.
|
|
---
|
|
|
|
# Scheduler
|
|
|
|
{% hint style="info" %}
|
|
**Prerequisites**
|
|
|
|
OpenMetadata is built using Java, DropWizard, Jetty and MySQL.
|
|
|
|
1. Python 3.7 or above
|
|
2. Create an env
|
|
|
|
```bash
|
|
python3 -m venv env
|
|
```
|
|
|
|
3. Activating the enviroment
|
|
|
|
```bash
|
|
source env/bin/activate
|
|
```
|
|
{% endhint %}
|
|
|
|
## Install dependencies
|
|
|
|
```text
|
|
cd ingestion
|
|
python3 -m venv env
|
|
source env/bin/activate
|
|
pip install '.[scheduler]'
|
|
python ingestion_scheduler/scheduler.py
|
|
```
|
|
|
|
{% hint style="warning" %}
|
|
**Note:**
|
|
|
|
Different Connectors require different dependencies, please go through [Connectors](https://docs.open-metadata.org/install/metadata-ingestion/connectors) Documentation install dependencies as needed.
|
|
{% endhint %}
|
|
|
|
## Scheduler UI
|
|
|
|
### Main Page
|
|
|
|
Loads all the Json connectors inside the pipeline directory as cron jobs.
|
|
|
|

|
|
|
|
### Custom run a job
|
|
|
|
* Click on **Custom Run** button under Action column of the jobs.
|
|
* Click on **Run.**
|
|
* The Job will start running the ingestion.
|
|
|
|

|
|
|
|
**Status of an executed job**
|
|
|
|
* Click on **Executions** tab under Navigation Bar.
|
|
|
|

|
|
|
|
## Scheduler API
|
|
|
|
* /api/v1/jobs
|
|
* Fetch data related to all the jobs.
|
|
* /api/v1/jobs/{job\_id}
|
|
* Fetch data related to specific job.
|
|
* /api/v1/executions
|
|
* Fetch results of all executions.
|
|
* /api/v1/executions/{execution\_id}
|
|
* Fetch results of particular execution of the job.
|
|
* /api/v1/status
|
|
* Fetch results of the current running ingestion job.
|
|
* /api/v1/status/{job\_id}
|
|
* Fetch recent execution results of the job id.
|
|
|