----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/10931/#review20227 -----------------------------------------------------------
Awesome, thanks Brenden! There are currently cases in mesos where tasks are lost and the updates don't make it to the scheduler, is that what you were seeing? Are you able to do this with a java.util.Timer instead? We can schedule the kill operation on each launched task (you'll want to pass in the Driver as well). - Ben Mahler On May 3, 2013, 6:41 p.m., Brenden Matthews wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/10931/ > ----------------------------------------------------------- > > (Updated May 3, 2013, 6:41 p.m.) > > > Review request for mesos. > > > Description > ------- > > From 9c0d29ec0d317bca1df0236722cb671309a59b2d Mon Sep 17 00:00:00 2001 > From: Brenden Matthews <[email protected]> > Date: Thu, 2 May 2013 16:50:53 -0700 > Subject: [PATCH 7/9] Kill tasks that never properly launch. > > After trying to launch a task tracker, we'll wait up to 5 minutes before > giving up and killing the task. > --- > .../java/org/apache/hadoop/mapred/MesosScheduler.java | 16 > ++++++++++++++++ > 1 file changed, 16 insertions(+) > > > Diffs > ----- > > hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java afe401f > > Diff: https://reviews.apache.org/r/10931/diff/ > > > Testing > ------- > > Used in production at airbnb. > > > Thanks, > > Brenden Matthews > >
