Re: Inconsistent naming of support scripts

2016-09-01 Thread Michael Park
Vinod, are there patches out for these? I would like to help close this off. On Tue, Feb 16, 2016 at 6:30 PM, Vinod Kone wrote: > Thanks for the feedback. I'll send out a patch. > > On Tue, Feb 16, 2016 at 9:12 AM, haosdent wrote: > > > >running `find /usr/local/bin -name "*-*" | wc -l` returne

IDE for building mesos in Eclipse on Ubuntu

2016-09-01 Thread Pankaj Saha
Hi is there any documentation on how to setup mesos in Eclipse on Ubuntu? Thanks Pankaj

Re: jobs are stuck in agents and staying in stagged state

2016-09-01 Thread Pankaj Saha
I am using my local system as a slave which is behind campus firewall. Firewall allows me to access only 8082 to 8090 ports for all incoming requests. My slave system is having a private ip address. So I am using a NAT conversion at the firewall which will convert all incoming requests to ports 808

Re: jobs are stuck in agents and staying in stagged state

2016-09-01 Thread Erik Weathers
You need to ensure there is no overlap between these 3 things: 1. Static ports for mesos agent/master, e.g. 5050, 5051 by default. 2. Linux ephemeral port range (32768-61000 by default). 3. Mesos view of ports as resources (31000-32000 by default). The behavior initially described here sounds to

Re: Docker containerizer: override USER

2016-09-01 Thread Gilbert Song
We considered support --user option in docker containerizer. Unfortunately, it would potentially break some previous users in behavior. So we did not merge it. Please see this JIRA for detail: https://issues.apache.org/jira/browse/MESOS-5754 However, you can still use DockerInfo::Parameter to spe

Re: Docker containerizer: override USER

2016-09-01 Thread Olivier Sallou
- Mail original - > De: "Qian Zhang" > À: dev@mesos.apache.org > Envoyé: Jeudi 1 Septembre 2016 15:57:39 > Objet: Re: Docker containerizer: override USER > > Hi Olivier, > > Can you try TaskInfo.CommandInfo.user? I will try but mesos.proto specifies: // Enables executor and tasks t

Re: jobs are stuck in agents and staying in stagged state

2016-09-01 Thread haosdent
If you use Linux, you could execute follow command on every Mesos Agent to make the ephemeral port assigned during 5000~6000 echo "5000 6000" > /proc/sys/net/ipv4/ip_local_port_range On Thu, Sep 1, 2016 at 3:12 PM, Vinod Kone wrote: > AFAICT, your agent is listening on port 8082 and not the def

Re: Docker containerizer: override USER

2016-09-01 Thread Qian Zhang
Hi Olivier, Can you try TaskInfo.CommandInfo.user? Thanks, Qian Zhang On Thu, Sep 1, 2016 at 4:39 PM, Olivier Sallou wrote: > Hi, > If Docker image specified a USER in Dockerfile, docker will use this user > when executing command in container. > In Docker commands, it can be overriden with -

Docker containerizer: override USER

2016-09-01 Thread Olivier Sallou
Hi, If Docker image specified a USER in Dockerfile, docker will use this user when executing command in container. In Docker commands, it can be overriden with -u XX . I do not find however in mesos.proto a way to do so. There is the "arguments" of DockerInfo that I could use to append this t

Re: jobs are stuck in agents and staying in stagged state

2016-09-01 Thread Vinod Kone
AFAICT, your agent is listening on port 8082 and not the default 5051. - I0829 14:24:21.750063 2679 slave.cpp:193] Slave started on 1)@ 128.226.116.69:8082 The fact that agent is receiving a task from the master means that the firewall on the agent allows incoming connections