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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file acryl_executor-0.1.0.tar.gz
.
File metadata
- Download URL: acryl_executor-0.1.0.tar.gz
- Upload date:
- Size: 33.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b667484b55f0a3a7ea7649796974b397388f4a8345ed6174f48f7e6ef3eb342a |
|
MD5 | 00bea705d16b4a5065eee6a9508324aa |
|
BLAKE2b-256 | 62fba1317d10d5865c9030c96ce217ae88a90029743d19790018a7955a6b7260 |
File details
Details for the file acryl_executor-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: acryl_executor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 55.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c52b95235cf4f956711513d0e12d355f4083ebcece88b28e6dd6ea363c24d7c3 |
|
MD5 | b8ea7623aeb1c0b84b9e8b264abc70f2 |
|
BLAKE2b-256 | b4c9371abf56b9b2551ca6421caa8a7374e52e316d25c9ea0fc7191fc2ab3317 |