Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EB40A200B36 for ; Tue, 21 Jun 2016 18:34:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EA135160A07; Tue, 21 Jun 2016 16:34:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3F675160A4F for ; Tue, 21 Jun 2016 18:34:59 +0200 (CEST) Received: (qmail 66666 invoked by uid 500); 21 Jun 2016 16:34:58 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 66638 invoked by uid 99); 21 Jun 2016 16:34:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2016 16:34:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 20AAC2C1F62 for ; Tue, 21 Jun 2016 16:34:58 +0000 (UTC) Date: Tue, 21 Jun 2016 16:34:58 +0000 (UTC) From: "Varun Saxena (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6720) Inconsistent values of counters across tasks and job reported to timeline service. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Jun 2016 16:35:00 -0000 [ https://issues.apache.org/jira/browse/MAPREDUCE-6720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342112#comment-15342112 ] Varun Saxena commented on MAPREDUCE-6720: ----------------------------------------- I am fine with reporting Map and reduce counter values separately as well. But this will increase the number of metrics being stored to upto 2 times. If we see a use case and have consensus on it, we can probably append _MAP or _REDUCE to the counter group name as that can help us filter out certain metrics based on prefix (we can specify prefixes in metricstoretrieve) > Inconsistent values of counters across tasks and job reported to timeline service. > ---------------------------------------------------------------------------------- > > Key: MAPREDUCE-6720 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6720 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Components: applicationmaster > Affects Versions: YARN-2928 > Reporter: Varun Saxena > Assignee: Varun Saxena > Labels: yarn-2928-1st-milestone > Attachments: Counters For Job.png, Counters for Tasks.png, MAPREDUCE-6720-YARN-2928.01.patch > > > While testing found below issue. For some of the task counters, we do not have consistent values. This is not the case with every counter though. > Consider the case of counter "org.apache.hadoop.mapreduce.FileSystemCounter:FILE_BYTES_WRITTEN". > I found that its value for a flow I ran, was 936018 bytes. For the 3 apps associated with this flow run, the values were 312006 bytes each (which equals to value for a flow run i.e. 3 * 312006 = 936018). Drilling further down I found though that for one of the apps, the 4 tasks(2 mappers and 2 reducers) had values as 155918 bytes each for the 2 reducers and 156003 bytes each for the 2 mappers. > This means the value reported for the app should be (2 * 156003 + 2* 155918) or 623842 bytes but it is only 312006 bytes which indicates that only counter value of mappers is being picked up. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org