You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Anindya Sinha (JIRA)" <ji...@apache.org> on 2015/06/24 00:33:42 UTC
[jira] [Commented] (AURORA-1075) schedule instance on every host
matching constraints
[ https://issues.apache.org/jira/browse/AURORA-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598499#comment-14598499 ]
Anindya Sinha commented on AURORA-1075:
---------------------------------------
I have added a proposal for supporting ubiquitous jobs at the link below. Feedback welcome.
https://docs.google.com/document/d/12hr6GnUZU3mc7xsWRzMi3nQILGB-3vyUxvbG-6YmvdE/edit?usp=sharing
Note that this proposal does not include the support for priority spectrum.
> schedule instance on every host matching constraints
> ----------------------------------------------------
>
> Key: AURORA-1075
> URL: https://issues.apache.org/jira/browse/AURORA-1075
> 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
(v6.3.4#6332)