aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Farner (JIRA)" <>
Subject [jira] [Commented] (AURORA-1075) schedule instance on every host matching constraints
Date Mon, 02 Feb 2015 22:00:36 GMT


Bill Farner commented on AURORA-1075:

We've floated this idea around in the past, but never really embarked on the effort because
of some complicating factors:

- we have no way to express a job that has an infinite number of instances
- the preemptor is not currently equipped to handle this
- it does not necessarily play nicely in a multi-framework environment

None of these are insurmountable, but they are aspects worth considering in the design.  Does
anyone have thoughts about any of these?

> schedule instance on every host matching constraints
> ----------------------------------------------------
>                 Key: AURORA-1075
>                 URL:
>             Project: Aurora
>          Issue Type: Story
>          Components: Scheduler
>            Reporter: Jay Buffington
> I'd like aurora to schedule an instance of a given job on every host it has seen an offer
for.  So if I were to create this job:
> {noformat}
> import os
> jobs = [Job(
>   task=SimpleTask(name="hello_world", command="echo hello world"),
>   role=os.getenv('USER'),
>   cluster="cluster1",
>   instances="*"
> )]
> {noformat}
> It would result in hello world running on every host in the cluster where there is room.
> If I were to set constraints (e.g. dedicated role), only hosts matching constraints would
have the instances started on it.
> If the Job is a production job, instances of other jobs would be preempted if necessary
to make room for this instance on every host aurora knows about.

This message was sent by Atlassian JIRA

View raw message