Return-Path: X-Original-To: apmail-mesos-dev-archive@www.apache.org Delivered-To: apmail-mesos-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 238C9101DB for ; Tue, 28 Jan 2014 02:17:30 +0000 (UTC) Received: (qmail 3624 invoked by uid 500); 28 Jan 2014 02:17:29 -0000 Delivered-To: apmail-mesos-dev-archive@mesos.apache.org Received: (qmail 3531 invoked by uid 500); 28 Jan 2014 02:17:29 -0000 Mailing-List: contact dev-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list dev@mesos.apache.org Received: (qmail 3517 invoked by uid 99); 28 Jan 2014 02:17:29 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jan 2014 02:17:29 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 8F3551D463D; Tue, 28 Jan 2014 02:17:27 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3691828218733836629==" MIME-Version: 1.0 Subject: Review Request 17442: Added 'active_tasks' stat to master stats endpoint. From: "Vinod Kone" To: "David Robinson" , "Benjamin Hindman" , "Ben Mahler" , "Niklas Nielsen" Cc: "Vinod Kone" , "mesos" Date: Tue, 28 Jan 2014 02:17:27 -0000 Message-ID: <20140128021727.6810.73395@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Vinod Kone" X-ReviewGroup: mesos X-ReviewRequest-URL: https://reviews.apache.org/r/17442/ X-Sender: "Vinod Kone" Reply-To: "Vinod Kone" X-ReviewRequest-Repository: mesos-git --===============3691828218733836629== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/17442/ ----------------------------------------------------------- Review request for mesos, Benjamin Hindman, Ben Mahler, David Robinson, and Niklas Nielsen. Bugs: MESOS-772 https://issues.apache.org/jira/browse/MESOS-772 Repository: mesos-git Description ------- See summary. I opted for "active" tasks instead of "running" tasks because I didn't want the stats endpoint to loop through all tasks to figure out if a task is in RUNNING state. I think "active" is useful for most debugging purposes. Diffs ----- src/master/http.cpp 546e91dbb9c8ee1014bb4f0b3be2714ad6a2d520 Diff: https://reviews.apache.org/r/17442/diff/ Testing ------- make check Thanks, Vinod Kone --===============3691828218733836629==--