You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Alexandr Nikitin (JIRA)" <ji...@apache.org> on 2016/06/15 09:48:09 UTC

[jira] [Created] (AIRFLOW-245) Access to task instance from custom Executor

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)