Skip to content

Conversation

@tarnfeld
Copy link
Member

Sometimes the user might want to restrict Hadoop to only launching tasks on top of resources for the given role.

Currently if the framework joins the cluster in the given role, it will also receive offers for any resources that are not assigned to a specific role.

Sometimes the user might want to restrict Hadoop to only launching tasks on top
of resources for the given role, and not accept offers for "*"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not so sure about this... perhaps I could assign the role to a property on the scheduler and access that?

@brndnmtthws
Copy link
Member

Looks good, thanks!

brndnmtthws added a commit that referenced this pull request Oct 14, 2014
Added support for strict role validation
@brndnmtthws brndnmtthws merged commit afda125 into mesos:master Oct 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants