You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Neil Conway (JIRA)" <ji...@apache.org> on 2016/01/07 00:41:39 UTC

[jira] [Commented] (MESOS-2976) Allow create multi master in test cases

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

Neil Conway commented on MESOS-2976:
------------------------------------

I looked into the first issue a little bit. The easy fix would be to use {{process::ID::generate("master")}} in {{Master::Master}}, but that will break stuff: right now, {{StandaloneMasterDetector}} assumes that the master process has the ID {{master}} (https://github.com/apache/mesos/blob/master/src/master/detector.cpp#L245). Not sure if there's an easy, backward-compatible fix here...

> Allow create multi master in test cases
> ---------------------------------------
>
>                 Key: MESOS-2976
>                 URL: https://issues.apache.org/jira/browse/MESOS-2976
>             Project: Mesos
>          Issue Type: Task
>          Components: libprocess, master, test
>            Reporter: haosdent
>            Assignee: haosdent
>            Priority: Minor
>
> Master use "master" as the fixed pid.id. This make it impossible to start multi masters in a same process at the same time. Also, current libprocess only allow bind to one port in one process. In some test scenarios, we need start multi masters at the same time.



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