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

Jay Guo commented on MESOS-6629:
--------------------------------

RR:
https://reviews.apache.org/r/54062/ Introduced FrameworkInfo validation.
https://reviews.apache.org/r/54301/ Introduced 'roles' validation in master.
https://reviews.apache.org/r/54300/ Added a test for FrameworkInfo role(s) 
validation.
https://reviews.apache.org/r/54302/ Added multi-role master validation 
integration tests.

> Add master validation of FrameworkInfo.roles.
> ---------------------------------------------
>
>                 Key: MESOS-6629
>                 URL: https://issues.apache.org/jira/browse/MESOS-6629
>             Project: Mesos
>          Issue Type: Task
>          Components: master
>            Reporter: Benjamin Mahler
>            Assignee: Jay Guo
>
> The master should disallow frameworks from subscribing based on the following:
> (1) Only one of {{FrameworkInfo.role}} and {{FrameworkInfo.roles}} must be 
> set at a time.
> (2) If {{FrameworkInfo.roles}} is set, then the MULTI_ROLE framework 
> capability must be provided.
> (3) If the MULTI_ROLE framework capability is provided, then 
> {{FrameworkInfo.role}} must not be set.
> (4) {{FrameworkInfo.roles}} must not contain duplicate entries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to