Skip to main content

An library used within Acryl Agents to execute tasks

Project description

Acryl Executor

Remote execution agent used for running DataHub tasks, such as ingestion powered through the UI.

python3 -m venv --upgrade-deps venv
source venv/bin/activate
pip3 install .

Notes

By default, this library comes with a set of default task implementations:

RUN_INGEST Task

  • SubprocessProcessIngestionTask - Executes a metadata ingestion run by spinning off a subprocess. Supports ingesting from a particular version, and with a specific plugin (based on the platform type requested)

  • InMemoryIngestionTask - Executes a metadata ingestion run using the datahub library in the same process. Not great for production where we can see strange dependency conflicts when certain packages are executed together. Use this for testing, as it has no ability to check out a specific DataHub Metadata Ingestion plugin.

Cloud Logging (S3)

There is one implementation of a cloud logging client that writes logs to S3. This is used by the Acryl Executor to write logs to S3. To enable it you should set the following environment variables: ENV DATAHUB_CLOUD_LOG_BUCKET - The S3 bucket to write logs to ENV DATAHUB_CLOUD_LOG_PATH - The S3 path to write logs to

The logs are compressed with tar and gzipped before being uploaded to S3 to the following path: s3://CLOUD_LOG_BUCKET/CLOUD_LOG_PATH/<pipeline_id>/year=/month=/day=/<run_id>/

Project details


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_dev-0.1.4.tar.gz (34.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_dev-0.1.4-py3-none-any.whl (56.1 kB view details)

Uploaded Python 3

File details

Details for the file acryl_executor_dev-0.1.4.tar.gz.

File metadata

  • Download URL: acryl_executor_dev-0.1.4.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for acryl_executor_dev-0.1.4.tar.gz
Algorithm Hash digest
SHA256 777215b91fefcbf04890f7500005c6507110f9c112ada4bdbbb8edabd0a055d9
MD5 bec18d7872cb978e48144619cd85a648
BLAKE2b-256 c4b827aa90d759d6c1922e4ccc7b34b53a22cb1a50b1bf23bd882f8a70d46d26

See more details on using hashes here.

File details

Details for the file acryl_executor_dev-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for acryl_executor_dev-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d94679b2c96f269e7d23ad193860c706552b97a11fefa5b59d669124ce0f69b
MD5 4656825a7019fd8786b33fb693c249d9
BLAKE2b-256 5ddec362d29acd2ca4b3c9e43887cc8c4d8b3e71afaa4e575234b194b2ce01dc

See more details on using hashes here.

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