Skip to main content

Acryl Executor

Remote execution agent for running DataHub metadata ingestion tasks via subprocess isolation — with S3 log storage, plugin-based extensibility, and first-class support for the DataHub UI-triggered ingestion workflow.

Features

  • Subprocess isolation — each ingestion run executes in a dedicated subprocess and virtual environment, preventing dependency conflicts between connectors
  • UI-triggered ingestion — integrates directly with the DataHub UI to execute RUN_INGEST tasks on demand
  • Connection testing — validate source/destination connectivity before running full ingestion via TEST_CONNECTION tasks
  • S3 log storage — automatically compress and upload execution logs and artifacts to S3; optionally clean up local files after a successful upload
  • Plugin architecture — register custom task implementations via Python entry points
  • AWS Secrets Manager & GCP Secret Manager — built-in secret store plugins for retrieving credentials from AWS SM or GCP SM

Installation

pip install acryl-executor

Quick Start

python3 -m venv venv
source venv/bin/activate
pip install acryl-executor

Task Types

Task Description
RUN_INGEST (SubProcessIngestionTask) Runs metadata ingestion in a subprocess; supports per-run DataHub versions and connector plugins
TEST_CONNECTION Validates connectivity to a data source before ingestion

Cloud Logging (S3)

Set these environment variables to enable S3 log uploads:

Variable Description
DATAHUB_CLOUD_LOG_BUCKET S3 bucket to write logs to
DATAHUB_CLOUD_LOG_PATH S3 path prefix for logs
DATAHUB_CLOUD_LOG_CLEANUP Set true to remove local files after a successful upload (default: false)

Logs are tar-gzipped and stored at:

s3://<BUCKET>/<PATH>/<pipeline_id>/year=<Y>/month=<M>/day=<D>/<run_id>/

When cleanup is enabled, a .s3 sentinel file replaces each uploaded file, recording the S3 URI, upload timestamp, and original file size.

Plugin Registration

Custom tasks register via the datahub.executor.task.plugins entry point:

entry_points = {
    "datahub.executor.task.plugins": [
        "my_task = my_package.tasks:MyTask"
    ]
}

Links

License

Apache License 2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acryl_executor-0.3.19.tar.gz (55.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acryl_executor-0.3.19-py3-none-any.whl (77.1 kB view details)

Uploaded Python 3

File details

Details for the file acryl_executor-0.3.19.tar.gz.

File metadata

  • Download URL: acryl_executor-0.3.19.tar.gz
  • Upload date:
  • Size: 55.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.20

File hashes

Hashes for acryl_executor-0.3.19.tar.gz
Algorithm Hash digest
SHA256 ce9af41eb5b56c7b216fd54232da7de8117bfd1515b245e7f8a57dce834166d4
MD5 14c291485fbc8596f9b6affb26032a91
BLAKE2b-256 7e701f6a22bf9f2bec279da449c6bb36ac5549ea346bbf4e501fcba991875197

See more details on using hashes here.

File details

Details for the file acryl_executor-0.3.19-py3-none-any.whl.

File metadata

File hashes

Hashes for acryl_executor-0.3.19-py3-none-any.whl
Algorithm Hash digest
SHA256 03932f4cc05b4d8837c4434ff1c4e8b46b2880cc0cbe65f7e37d0923535d1ec6
MD5 4bc58748458775b28313fbc62845eb72
BLAKE2b-256 e34f10b3722a6bdac0f36f638180bab0694f4fba8e4d0761a4fd6b4ccec82c03

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page