Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C21F5F2B5 for ; Tue, 14 May 2013 00:46:57 +0000 (UTC) Received: (qmail 16171 invoked by uid 500); 14 May 2013 00:20:16 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 16128 invoked by uid 500); 14 May 2013 00:20:16 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 16119 invoked by uid 99); 14 May 2013 00:20:16 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 00:20:16 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id B15AC1C9AE6; Tue, 14 May 2013 00:20:11 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7427853731118431644==" MIME-Version: 1.0 Subject: Review Request: Don't prematurely kill TaskTrackers. From: "Brenden Matthews" To: "mesos" , "Brenden Matthews" Date: Tue, 14 May 2013 00:20:11 -0000 Message-ID: <20130514002011.22989.10778@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Brenden Matthews" X-ReviewGroup: mesos X-ReviewRequest-URL: https://reviews.apache.org/r/11119/ X-Sender: "Brenden Matthews" Reply-To: "Brenden Matthews" --===============7427853731118431644== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/11119/ ----------------------------------------------------------- Review request for mesos. Description ------- >From 053d9b61f33ecbd49dba30d126a2eb9504fcba1a Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Mon, 13 May 2013 16:13:16 -0700 Subject: [PATCH 12/24] Don't prematurely kill TaskTrackers. We assign the JobID to the internal Mesos tracker (for the TaskTracker) rather than the TaskID. In the case where a TaskTracker has only map tasks assigned to it and they have all completed, we mustn't terminate the tracker until the entire job has finished, including the map tasks. Review: https://reviews.apache.org/r/11119 --- .../org/apache/hadoop/mapred/MesosScheduler.java | 203 ++++++++++------= ---- 1 file changed, 105 insertions(+), 98 deletions(-) Diffs ----- hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java afe401= f5265e3d9494af7eace42eec45943184a3 = Diff: https://reviews.apache.org/r/11119/diff/ Testing ------- Used in production at airbnb. Thanks, Brenden Matthews --===============7427853731118431644==--