Looking for a shepherd for MESOS-4878

2016-03-09 Thread Shuai Lin
The bug is: if a framework launches a task with mesos containerizer and a docker image, and the slave failed to fetch the image for any reason, the task state would be stuck in STAGING forever. https://issues.apache.org/jira/browse/MESOS-4878 @jieyu can you shepherd it? Thanks!

Re: Negative durations

2016-03-09 Thread Alexander Rojas
IMO durations should not be negative. The problem with having them define an infinite period is the following: Lets say you want to compute the duration between two durations A and B: C = A-B; if A < B, C is negative and it will be infinite. I one want’s to check for the case mentioned in [1]

Re: Port management on the host

2016-03-09 Thread Erik Weathers
On Wed, Mar 9, 2016 at 4:16 PM, Ashwin Murthy wrote: > Is mesos aware of ports on the host that are in use vs free? Not directly. Mesos only knows about a port being used if it is part of an accepted resource Offer from a host. i.e., if a Framework uses one of the

Port management on the host

2016-03-09 Thread Ashwin Murthy
Is mesos aware of ports on the host that are in use vs free? Are these offered to frameworks to make scheduling decisions? If yes, then does mesos make any assumptions on IP addresses on the host? What if there are multiple IPs configured on multiple NICs/vNICs? The port range is mapped to an IP.

Re: [VOTE] Release Apache Mesos 0.28.0 (rc1)

2016-03-09 Thread Kevin Klues
Tim, Is there a review other than the following for MESOS-4370? Restore Mesos' ability to extract Docker assigned IPs (still under review): https://reviews.apache.org/r/43093/ If not, it was already on the list, but has not yet landed. On Wed, Mar 9, 2016 at 9:57 AM, Timothy Chen

Re: [VOTE] Release Apache Mesos 0.28.0 (rc1)

2016-03-09 Thread Timothy Chen
Also like to include MESOS-4370 as it fixes IP Address look up logic and also unblocks users using custom Docker network. Tim On Wed, Mar 9, 2016 at 9:55 AM, Gilbert Song wrote: > Hi Kevin, > > Please remove the the patch below from the list: > Implemented runtime

Re: [VOTE] Release Apache Mesos 0.28.0 (rc1)

2016-03-09 Thread Gilbert Song
Hi Kevin, Please remove the the patch below from the list: Implemented runtime isolator default cmd test (still under review). https://reviews.apache.org/r/44469/ Because the bug was fixed by patch #44468, the test should not be considered as a block. I am updating MESOS-4888 and move the test

Re: Negative durations

2016-03-09 Thread Klaus Ma
One case I can image is to use negative value for forever duration? Da (Klaus), Ma (马达) | PMP® | Advisory Software Engineer Platform OpenSource Technology, STG, IBM GCG +86-10-8245 4084 | klaus1982...@gmail.com | http://k82.me On Wed, Mar 9, 2016 at 8:21 PM, Alex Rukletsov

Negative durations

2016-03-09 Thread Alex Rukletsov
Folks, I've recently realized that durations we use in mesos (stout's `Duration` and `DurationInfo` protobuf) are based on signed integers. Negative duration concept is a bit strange to me, so I googled around a bit and found an interesting thread [1]. Was it an explicit intention to allow