Re: mess slave can't register to master via master ip:port

2015-11-02 Thread Guangya Liu
I filed a jira ticket https://issues.apache.org/jira/browse/MESOS-3822 to trace this. Thanks. On Tue, Nov 3, 2015 at 2:02 PM, haosdent wrote: > I think it is not correct. > > On Tue, Nov 3, 2015 at 12:44 PM, Xiaodong Zhang wrote: > >> If that so. I think this document should be modified. >> >>

Re: mess slave can't register to master via master ip:port

2015-11-02 Thread haosdent
I think it is not correct. On Tue, Nov 3, 2015 at 12:44 PM, Xiaodong Zhang wrote: > If that so. I think this document should be modified. > > http://mesos.apache.org/documentation/latest/configuration/#SlaveOptions > > > Right? > > > 发件人: Guangya Liu > 答复: "user@mesos.apache.org" > 日期: 2015年11

Re: mess slave can't register to master via master ip:port

2015-11-02 Thread Xiaodong Zhang
If that so. I think this document should be modified. http://mesos.apache.org/documentation/latest/configuration/#SlaveOptions [cid:30B6D8D5-217E-42F9-925E-BBBEBCF636A3] Right? 发件人: Guangya Liu mailto:gyliu...@gmail.com>> 答复: "user@mesos.apache.org" mailto:user@m

Re: mess slave can't register to master via master ip:port

2015-11-02 Thread Guangya Liu
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 wrote: > After checking code, seems Mesos only support --master=IP1:5050 > or --master=

Re: mess slave can't register to master via master ip:port

2015-11-02 Thread haosdent
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 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 Z

Re: mess slave can't register to master via master ip:port

2015-11-02 Thread haosdent
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 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

Re: mess slave can't register to master via master ip:port

2015-11-02 Thread Xiaodong Zhang
+ My mesos version 0.24.1 发件人: Xiaodong Zhang mailto:xdzh...@alauda.io>> 答复: "user@mesos.apache.org" mailto:user@mesos.apache.org>> 日期: 2015年11月3日 星期二 下午12:06 至: "user@mesos.apache.org" mailto:user@mesos.apache.org>> 主题: mess slave can'

mess slave can't register to master via master ip:port

2015-11-02 Thread Xiaodong Zhang
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

Re: Marathon 0.11.1 - Mesos 0.25 - Mesos-DNS 0.4.0

2015-11-02 Thread James DeFelice
What settings worked for you? We did aim for least surprise. Sounds like we missed a bit. We're happy to accept suggestions for improvement via gh issues filed against the mesos-dns repo. On Oct 29, 2015 7:39 AM, "John Omernik" wrote: > That is good to know, however, I would challenge the group o

Re: Is it possible to monitor resource usage per-task for the same executor?

2015-11-02 Thread Alex Rukletsov
In mesos, resources are isolated and accounted per container. A task is basically a description, it is up to an executor how to interpret it. In some cases, for example if an executor *just* creates a message in its internal queue for incoming tasks, it is almost impossible to track resource usage

Is it possible to monitor resource usage per-task for the same executor?

2015-11-02 Thread sujz
Hi, all: If we submit a job to framework like Spark, slave node runs our job concurrently with launching multiple tasks within the same container, I am not sure these tasks are run in per-process or per-thread? If they are in thread, can we monitor resource usage for each task in mesos? Thank

Re: Can't start docker container when SSL_ENABLED is on.

2015-11-02 Thread Xiaodong Zhang
uot;SSL_CERT_FILE": "/home/ubuntu/cert/xxx.key", "SSL_ENABLED": "true"} --executor_registration_timeout=60mins env without ssl Error info: stderr: Could not load cert file Stdout: --container="mesos-20151102-085117-3565115700-5050-25211-S1.2b784e8d-0bdd-4ffa-a7d

Re: Can't start docker container when SSL_ENABLED is on.

2015-11-02 Thread haosdent
E": "/home/ubuntu/cert/xxx.key", > "SSL_ENABLED": "true"} --executor_registration_timeout=60mins > > env without ssl > > Error info: > > stderr: > Could not load cert file > > Stdout: > --container="mesos-20151102-085117-3565115700-505

Re: Can't start docker container when SSL_ENABLED is on.

2015-11-02 Thread Xiaodong Zhang
ot;/home/ubuntu/cert/xxx.pem", "SSL_CERT_FILE": "/home/ubuntu/cert/xxx.key", "SSL_ENABLED": "true"} --executor_registration_timeout=60mins env without ssl Error info: stderr: Could not load cert file Stdout: --container="mesos-20151102-085

Re: how to use agent config: docker_mesos_image better? or is it deprecated?

2015-11-02 Thread haosdent
According my understand, when we use this flag, slave would launch executor in a external docker container. If you don't specify this flag, mesos-docker-executor would launch directly. On Mon, Nov 2, 2015 at 2:45 PM, zhou weitao wrote: > Hi, there, > > I got this config docker_mesos_image=VALUE