Seems mesos does not support such mode, please refer to https://github.com/apache/mesos/blob/master/src/slave/main.cpp#L105-L111 for the format of "--master". Thanks!
On Tue, Nov 3, 2015 at 12:28 PM, haosdent <[email protected]> wrote: > After checking code, seems Mesos only support --master=IP1:5050 > or --master=zk://xx or --master=file:///. > > On Tue, Nov 3, 2015 at 12:15 PM, haosdent <[email protected]> wrote: > >> Do your masters have already managed by zookeeper? And what is your >> master start command? >> >> On Tue, Nov 3, 2015 at 12:06 PM, Xiaodong Zhang <[email protected]> >> wrote: >> >>> Hi all: >>> >>> My slave command like this: >>> >>> /usr/sbin/mesos-slave --master=IP1:5050,IP2:5050,IP3:5050 …. >>> --credential … >>> >>> Only if IP1 is the leader, the slave can register to master >>> successfully, Or it will register fail. >>> >>> Slave log like this: >>> >>> Creating new client SASL connection >>> Authentication timed out >>> Failed to authenticate with master [email protected]:5050: >>> Authentication discarded >>> Authenticating with master [email protected]:5050 >>> Using default CRAM-MD5 authenticatee >>> >>> Is this a bug?Or it is designed like this. >>> >>> BTW: --master:zk://xxxxxxx work well. >>> >> >> >> >> -- >> Best Regards, >> Haosdent Huang >> > > > > -- > Best Regards, > Haosdent Huang >

