Re: [Replicated Log] Enable Mesos to use etcd for replicated_log

2016-07-14 Thread tommy xiao
os/blob/master/src/log/network.hpp#L316 > > > > Shuai Lin <linshuai2...@gmail.com> wrote on 07/11/2016 00:13:12: > > > > > From: Shuai Lin <linshuai2...@gmail.com> > > > To: dev <dev@mesos.apache.org> > > > Cc: Jie Yu <j...@meso

Re: [Replicated Log] Enable Mesos to use etcd for replicated_log

2016-07-13 Thread Shuai Lin
[1] https://github.com/apache/mesos/blob/master/src/log/network.hpp#L316 > > Shuai Lin <linshuai2...@gmail.com> wrote on 07/11/2016 00:13:12: > > > From: Shuai Lin <linshuai2...@gmail.com> > > To: dev <dev@mesos.apache.org> > > Cc: Jie Yu <j...@mesospher

Re: [Replicated Log] Enable Mesos to use etcd for replicated_log

2016-07-11 Thread Joseph Wu
apache.org> > > Cc: Jie Yu <j...@mesosphere.io>, Kapil Arya <ka...@mesosphere.io> > > Date: 07/11/2016 00:13 > > Subject: Re: [Replicated Log] Enable Mesos to use etcd for replicated_log > > > > > > > > i.e. The MasterContender is the piece that

Re: [Replicated Log] Enable Mesos to use etcd for replicated_log

2016-07-10 Thread Shuai Lin
> > i.e. The MasterContender is the piece that decides the "coordinator" of the > replicated log. IINM master contender/detector is not related to replicated logs. The only thing they have in common (when using zookeeper) is they both get the zookeeper servers list from the `--zk` flag. On

Re: [Replicated Log] Enable Mesos to use etcd for replicated_log

2016-07-10 Thread Jay JN Guo
/log.hpp#L189 Joseph Wu <jos...@mesosphere.io> wrote on 07/09/2016 01:54:14: > From: Joseph Wu <jos...@mesosphere.io> > To: dev <dev@mesos.apache.org> > Cc: Jie Yu <j...@mesosphere.io>, Kapil Arya <ka...@mesosphere.io> > Date: 07/09/2016 01:54 > Subject:

Re: [Replicated Log] Enable Mesos to use etcd for replicated_log

2016-07-08 Thread Joseph Wu
Jay, (1) Looks like we missed this when we modularized the MasterDetector/Contender [1]. We need to expand on src/master/main.cpp a bit. Can you file a bug? (cc: Kapil) I can shepherd if Kapil doesn't have the cycles. (2) The bit of the replicated log which relies on ZK is a small portion

Re: [Replicated Log] Enable Mesos to use etcd for replicated_log

2016-07-08 Thread Avinash Sridharan
+Jie I think replicated log uses ZK only for leader election. Hence, without ZK the quorum is hard-coded to 1. For (#2), trying to understand what you mean by replicated log being pluggable? You mean turning of replicated log on the Master for storing Registrar information? On Fri, Jul 8, 2016

[Replicated Log] Enable Mesos to use etcd for replicated_log

2016-07-08 Thread Jay JN Guo
Hi, We are working on a Mesos module to substitute Zookeeper with Etcd. Contender and detector are done through modulerized interfaces, however, replicated_log is still coupled with ZK. Here are my questions: #1 What's the difference between replicated_log with/without ZK? Without flag --zk,