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/04/14 18:01:25 UTC

[jira] [Comment Edited] (MESOS-5207) Mesos Masters Leader Keeps Fluctuating

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

Neil Conway edited comment on MESOS-5207 at 4/14/16 4:00 PM:
-------------------------------------------------------------

Using a mix of public and private IPs is very confusing; I haven't traced through the entire log, but at times it appears that the master on network B is trying to reach a network A host on that host's private IP (192.168.x.x), which isn't going to work.

Why is using a mix of public and private IPs necessary? If possible, please configure all three hosts in the same manner, using the same IPs to refer to one another. That is, {{/etc/zookeeper/conf/zoo.cfg}} and {{/etc/mesos/zk}} on each host should be the same; each file should use IPs that are routable from all three hosts.


was (Author: neilc):
Using a mix of public and private IPs is very confusing. Why is this necessary? If possible, please configure all three hosts in the same manner, using the same IPs to refer to one another. That is, {{/etc/zookeeper/conf/zoo.cfg}} and {{/etc/mesos/zk}} on each host should be the same; each file should use IPs that are routable from all three hosts.

> Mesos Masters Leader Keeps Fluctuating
> --------------------------------------
>
>                 Key: MESOS-5207
>                 URL: https://issues.apache.org/jira/browse/MESOS-5207
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: haosdent
>            Assignee: haosdent
>
> Report from user mailing list. [Mesos  mail # user  Re: Mesos Masters Leader Keeps Fluctuating|http://search-hadoop.com/m/0Vlr69BZgz1NlAPP1] 
> From suruchi:
> {quote}
> Hi,
>  
> I have set the quorum value as 2 as I have configured 3 master machines in my environment.
>  
> But I don’t know why my leader master keeps fluctuating.
> {quote}
> From Stefano Bianchi:
> {quote}
> i joint to this discussion.
> i'm currently re setting op a cluster, but since i don't have much resources i need to set 2 masters.
> in this case the quorum valute set to 2 is correct?
> The problem i notice is that when i connect my 2 mesos masters the leader after few seconds id disconnecter: Failed to connect to...
> then the other master becomes the leader, but after a while again Failed to connect to...message.
> i notice that i always used mesos 0.27 and this problem happen with mesos 0.28.
> ...
> However in the previous configuration the switch between two masters was ok, just when the master was leading after, more or less 30 seconds, there was that Failed to connect message.
> {quote}



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