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 797267F9D for ; Wed, 23 Nov 2011 07:04:09 +0000 (UTC) Received: (qmail 78294 invoked by uid 500); 23 Nov 2011 07:04:08 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 78236 invoked by uid 500); 23 Nov 2011 07:04:06 -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 78209 invoked by uid 99); 23 Nov 2011 07:04:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 07:04:05 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2011 07:04:04 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2E14799CCF for ; Wed, 23 Nov 2011 07:03:44 +0000 (UTC) Date: Wed, 23 Nov 2011 07:03:44 +0000 (UTC) From: "jiraposter@reviews.apache.org (Commented) (JIRA)" To: mesos-dev@incubator.apache.org Message-ID: <454795703.5354.1322031824190.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <681148080.49333.1320207872282.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MESOS-56) Resources of tasks queued during executor launch not always accounted for MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155729#comment-13155729 ] jiraposter@reviews.apache.org commented on MESOS-56: ---------------------------------------------------- bq. On 2011-11-23 06:49:29, Benjamin Hindman wrote: bq. > src/tests/utils.hpp, line 269 bq. > bq. > bq. > I think this is an orphaned line ... Removed. - Charles ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/2669/#review3468 ----------------------------------------------------------- On 2011-11-23 07:02:41, Charles Reiss wrote: bq. bq. ----------------------------------------------------------- bq. This is an automatically generated e-mail. To reply, visit: bq. https://reviews.apache.org/r/2669/ bq. ----------------------------------------------------------- bq. bq. (Updated 2011-11-23 07:02:41) bq. bq. bq. Review request for mesos. bq. bq. bq. Summary bq. ------- bq. bq. This calls Executor::addTask to accumulate the usage of queued tasks before calling resourcesChanged() to ensure the executor has enough resources to run those queued tasks. bq. bq. bq. This addresses bug MESOS-56. bq. https://issues.apache.org/jira/browse/MESOS-56 bq. bq. bq. Diffs bq. ----- bq. bq. src/slave/slave.cpp de5716c bq. src/tests/master_tests.cpp 2438114 bq. src/tests/utils.hpp 89af7f3 bq. bq. Diff: https://reviews.apache.org/r/2669/diff bq. bq. bq. Testing bq. ------- bq. bq. Modification to MasterTest included. bq. bq. bq. Thanks, bq. bq. Charles bq. bq. > Resources of tasks queued during executor launch not always accounted for > ------------------------------------------------------------------------- > > Key: MESOS-56 > URL: https://issues.apache.org/jira/browse/MESOS-56 > Project: Mesos > Issue Type: Bug > Components: isolation, slave > Reporter: Charles Reiss > Assignee: Charles Reiss > > When initially launching an executor, the slave queues the tasks sent to the executor until the executor registers itself with the slave. When this happens, the slave calls resourcesChanged() on the isolation module, but before it adds the usage of the queued tasks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira