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 79204200C8E for ; Thu, 8 Jun 2017 18:06:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 77D7C160BD5; Thu, 8 Jun 2017 16:06:29 +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 BA900160BCA for ; Thu, 8 Jun 2017 18:06:28 +0200 (CEST) Received: (qmail 71211 invoked by uid 500); 8 Jun 2017 16:06:27 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 71196 invoked by uid 99); 8 Jun 2017 16:06:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2017 16:06:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4D1221A00AA for ; Thu, 8 Jun 2017 16:06:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Nm5fmk6uhbfL for ; Thu, 8 Jun 2017 16:06:25 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 8A4295FBC6 for ; Thu, 8 Jun 2017 16:06:24 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8C549E06BD for ; Thu, 8 Jun 2017 16:06:22 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7A6D921E17 for ; Thu, 8 Jun 2017 16:06:18 +0000 (UTC) Date: Thu, 8 Jun 2017 16:06:18 +0000 (UTC) From: "Erik Krogen (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-14502) Confusion/name conflict between NameNodeActivity#BlockReportNumOps and RpcDetailedActivity#BlockReportNumOps MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Jun 2017 16:06:29 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Krogen updated HADOOP-14502: --------------------------------- Attachment: HADOOP-14502.000.patch Attaching initial patch. I updated the quantile metrics for BlockReports as well since they also reflect individual storages. Old metrics output: {code} }, { "name" : "Hadoop:service=NameNode,name=RpcDetailedActivityForPort58010", "BlockReportNumOps" : 2, "BlockReportAvgTime" : 42.0, ... }, { "name" : "Hadoop:service=NameNode,name=NameNodeActivity", "BlockReport60sNumOps" : 0, "BlockReport60s50thPercentileLatency" : 0, "BlockReport60s75thPercentileLatency" : 0, "BlockReport60s90thPercentileLatency" : 0, "BlockReport60s95thPercentileLatency" : 0, "BlockReport60s99thPercentileLatency" : 0, "StorageBlockReportOps" : 4, "BlockReportOps" : 4, "BlockReportAvgTime" : 5.5, ... }, { {code} New metrics output: {code} }, { "name" : "Hadoop:service=NameNode,name=RpcDetailedActivityForPort58010", "BlockReportNumOps" : 2, "BlockReportAvgTime" : 42.0, ... }, { "name" : "Hadoop:service=NameNode,name=NameNodeActivity", "StorageBlockReport60sNumOps" : 0, "StorageBlockReport60s50thPercentileLatency" : 0, "StorageBlockReport60s75thPercentileLatency" : 0, "StorageBlockReport60s90thPercentileLatency" : 0, "StorageBlockReport60s95thPercentileLatency" : 0, "StorageBlockReport60s99thPercentileLatency" : 0, "StorageBlockReportNumOps" : 4, "StorageBlockReportAvgTime" : 5.5, ... }, { {code} I also would like to point out this is consistent with the DataNode BlockReport metric: {code} }, { "name" : "Hadoop:service=DataNode,name=DataNodeActivity-127.0.0.1-58011", "BlockReportsNumOps" : 2, "BlockReportsAvgTime" : 65.0, ... }, { {code} > Confusion/name conflict between NameNodeActivity#BlockReportNumOps and RpcDetailedActivity#BlockReportNumOps > ------------------------------------------------------------------------------------------------------------ > > Key: HADOOP-14502 > URL: https://issues.apache.org/jira/browse/HADOOP-14502 > Project: Hadoop Common > Issue Type: Improvement > Components: metrics > Reporter: Erik Krogen > Assignee: Erik Krogen > Priority: Minor > Attachments: HADOOP-14502.000.patch > > > Currently the {{BlockReport(NumOps|AvgTime)}} metrics emitted under the {{RpcDetailedActivity}} context and those emitted under the {{NameNodeActivity}} context are actually reporting different things despite having the same name. {{NameNodeActivity}} reports the count/time of _per storage_ block reports, whereas {{RpcDetailedActivity}} reports the count/time of _per datanode_ block reports. This makes for a confusing experience with two metrics having the same name reporting different values. > We already have the {{StorageBlockReportsOps}} metric under {{NameNodeActivity}}. Can we make {{StorageBlockReport}} a {{MutableRate}} metric and remove {{NameNodeActivity#BlockReport}} metric? Open to other suggestions about how to address this as well. The 3.0 release seems a good time to make this incompatible change. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org