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

Benjamin Mahler commented on MESOS-1486:
----------------------------------------

If there are rogue / undesired masters registering in ZooKeeper there are 
bigger problems than slaves registering with them. What happens to the log 
replicas? They will be using an incorrect quorum!

Why not prevent this situation by restricting the set of masters that can 
participate in the log ensemble? That would prevent any rogue masters from 
becoming leader. (There are a lot of details that need flushing out so I'm 
being a bit vague).

> Add whitelisting of masters in slaves.
> --------------------------------------
>
>                 Key: MESOS-1486
>                 URL: https://issues.apache.org/jira/browse/MESOS-1486
>             Project: Mesos
>          Issue Type: Improvement
>          Components: slave
>            Reporter: Niklas Quarfot Nielsen
>            Assignee: Niklas Quarfot Nielsen
>
> Like masters can whitelist slaves (and only announce available resources from 
> slaves whitelisted), slaves should be able to whitelist masters they are 
> willing/allowed to connect to. I have a proof-of-concept ready which ties 
> into the slave::detected() method and prevents non-whitelisted masters to 
> register.
> If "*" is provided - whitelisting is not enforced (which would be the usual 
> case).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to