airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandr Nikitin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-245) Access to task instance from custom Executor
Date Wed, 15 Jun 2016 09:48:09 GMT
Alexandr Nikitin created AIRFLOW-245:
----------------------------------------

             Summary: Access to task instance from custom Executor
                 Key: AIRFLOW-245
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-245
             Project: Apache Airflow
          Issue Type: Improvement
          Components: executor
            Reporter: Alexandr Nikitin


I'm writing a custom executor that executes tasks on mesos and I want to have access to task
instances from it. So that I can reuse all existing operators e.g. DockerOperator and access
its fields like image, command, volumes and transform them to mesos.
This can be done by changing `def execute_async(self, key, command, queue=None):` in `BaseExecutor`.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message