[ 
https://issues.apache.org/jira/browse/AIRFLOW-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448804#comment-16448804
 ] 

ASF subversion and git services commented on AIRFLOW-2068:
----------------------------------------------------------

Commit 1f86299cf998729ea93c666481390451c9724ebc in incubator-airflow's branch 
refs/heads/master from [~amangal]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=1f86299 ]

[AIRFLOW-2068] MesosExecutor allows optional Docker image

In its current form, MesosExecutor schedules tasks
on mesos slaves which
just contain airflow commands assuming that the
mesos slaves already
have airflow installed and configured on them.
This assumption goes
against the Mesos philosophy of having a
heterogeneous cluster.

Since Mesos provides an option to pull a Docker
image before actually
running the actual task/command so this
improvement changes the
mesos_executor.py to specify an optional docker
image containing
airflow which can be pulled on slaves before
running the actual
airflow command. This also opens the door for an
optimization of
resources in a future PR, by allowing the
specification of CPU and
memory needed for each airflow task.

Closes #3008 from agrajm/AIRFLOW-2068


> Mesos Executor should allow specifying optional Docker image before running 
> command
> -----------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-2068
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2068
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: executor
>    Affects Versions: Airflow 1.8
>            Reporter: Agraj Mangal
>            Assignee: Agraj Mangal
>            Priority: Major
>
> In its current form, MesosExecutor schedules tasks on mesos slaves which just 
> contain airflow commands assuming that the mesos slaves already have airflow 
> installed and configured on them. This assumption goes against the Mesos 
> philosophy of having a heterogeneous cluster.
> Since mesos provides an option to pull a docker image before actually running 
> the actual task/command so this improvement changes the mesos_executor.py to 
> specify an optional docker image containing airflow which can be pulled on 
> slaves before running the actual airflow command. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to