Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 370B810662 for ; Wed, 24 Jul 2013 06:43:50 +0000 (UTC) Received: (qmail 84919 invoked by uid 500); 24 Jul 2013 06:43:50 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 84777 invoked by uid 500); 24 Jul 2013 06:43:49 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 84768 invoked by uid 99); 24 Jul 2013 06:43:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2013 06:43:48 +0000 Date: Wed, 24 Jul 2013 06:43:48 +0000 (UTC) From: "Li Yuan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-965) NodeManager Metrics containersRunning is not correct When localizing container process is failed or killed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Li Yuan created YARN-965: ---------------------------- Summary: NodeManager Metrics containersRunning is not correct = When localizing container process is failed or killed Key: YARN-965 URL: https://issues.apache.org/jira/browse/YARN-965 Project: Hadoop YARN Issue Type: Bug Components: nodemanager Affects Versions: 2.0.4-alpha Environment: suse linux Reporter: Li Yuan Fix For: 2.1.0-beta When successfully launched a container, container state from LOCALIZED to R= UNNING, containersRunning ++. Container state from EXITED_WITH_FAILURE or K= ILLING to DONE, containersRunning--.=20 However, state EXITED_WITH_FAILURE or KILLING could come from LOCALIZING(LO= CALIZED), not RUNNING, which caused containersRunningis less than the actua= l number. Further more,=E3=80=80Metrics is wrong, containersLaunched !=3D c= ontainersCompleted + containersFailed +=E3=80=80containersKilled =EF=BC=8B = containersRunning +=E3=80=80containersIniting -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira