Qnap [ Apache AirFlow ] [ 2.5.0 ] platform to programmatically author, schedule and monitor work

QoolBox

Représentant QNAP
2 Janvier 2014
10 597
169
158
50
France
www.qnap.com
401-4019613_air-flow-png-apache-airflow-logo-png-transparent.png

Source https://airflow.apache.org

Download : amd64 only

https://www.myqnap.org/product/apache-airflow/

dependency : Apache81

Use Airflow to author workflows as Directed Acyclic Graphs (DAGs) of tasks. The Airflow scheduler executes your tasks on an array of workers while following the specified dependencies. Rich command line utilities make performing complex surgeries on DAGs a snap. The rich user interface makes it easy to visualize pipelines running in production, monitor progress, and troubleshoot issues when needed.

When workflows are defined as code, they become more maintainable, versionable, testable, and collaborative.

airflow.gif


Principles

Dynamic: Airflow pipelines are configuration as code (Python), allowing for dynamic pipeline generation. This allows for writing code that instantiates pipelines dynamically.

Extensible: Easily define your own operators, executors and extend the library so that it fits the level of abstraction that suits your environment.

Elegant: Airflow pipelines are lean and explicit. Parameterizing your scripts is built into the core of Airflow using the powerful Jinja templating engine.

Scalable: Airflow has a modular architecture and uses a message queue to orchestrate an arbitrary number of workers. Airflow is ready to scale to infinity.

Beyond the Horizon
Airflow is not a data streaming solution. Tasks do not move data from one to the other (though tasks can exchange metadata!). Airflow is not in the Spark Streaming or Storm space, it is more comparable to Oozie or Azkaban.

Workflows are expected to be mostly static or slowly changing. You can think of the structure of the tasks in your workflow as slightly more dynamic than a database structure would be. Airflow workflows are expected to look similar from a run to the next, this allows for clarity around unit of work and continuity.

QPKG Integration

Code:
on first install you need create an admin user in SSH

ex :

airflow users create --username admin --firstname FIRST_NAME --lastname LAST_NAME --role Admin --email admin@example.org

if you need change you can customize airflow.cfg within /opt/AirFlow

build with some extra plugin :

Code:
async,postgres,kerberos,github_enterprise,celery,cgroups,cncf.kubernetes,google_auth,ldap,password,rabbitmq,sentry,statsd,virtualenv,airbyte,tableau,amazon,azure,discord,facebook,jira,salesforce,segment,slack,snowflake,telegram,yandex,zendesk
 
Dernière édition: