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 0FA98200CAD for ; Mon, 5 Jun 2017 15:23:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0CBCF160BBF; Mon, 5 Jun 2017 13:23:10 +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 5B0C1160BD4 for ; Mon, 5 Jun 2017 15:23:09 +0200 (CEST) Received: (qmail 59084 invoked by uid 500); 5 Jun 2017 13:23:08 -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 59071 invoked by uid 99); 5 Jun 2017 13:23:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2017 13:23:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A4F4BC02C8 for ; Mon, 5 Jun 2017 13:23:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id dq9FY8isBEYo for ; Mon, 5 Jun 2017 13:23:06 +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 2465E5FC3D for ; Mon, 5 Jun 2017 13:23:06 +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 754CEE0BDF for ; Mon, 5 Jun 2017 13:23:05 +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 C8D2621B5C for ; Mon, 5 Jun 2017 13:23:04 +0000 (UTC) Date: Mon, 5 Jun 2017 13:23:04 +0000 (UTC) From: "Michael Moss (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12360) Create StatsD metrics2 sink MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 05 Jun 2017 13:23:10 -0000 [ https://issues.apache.org/jira/browse/HADOOP-12360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036925#comment-16036925 ] Michael Moss commented on HADOOP-12360: --------------------------------------- Dave, thanks for the (fast) response. Here's what we were seeing for the following configuration: ubuntu@alphab-bvlt-r1n87:~$ cat /etc/hadoop/conf/hadoop-metrics2.properties # generated by Chef for alphab-bvlt-r1n87, changes will be overwritten datanode.sink.statsd.class=org.apache.hadoop.metrics2.sink.StatsDSink datanode.sink.statsd.server.host=localhost datanode.sink.statsd.server.port=8125 datanode.sink.statsd.skip.hostname=true datanode.sink.statsd.service.name=our.prefix rpc and datanode contexts look good for example: our.prefix.rpc.rpc.RpcQueueTimeNumOps:4|c our.prefix.dfs.datanode.BlockReportsNumOps:79| but the jvm context renders as: DataNode.jvm.JvmMetrics.MemNonHeapUsedM:41.624916|g losing our prefix (overrides the 'sn' variable, per above) We need a consistent prefix to properly namespace our metrics. Seemed like a bug, but wasn't sure. > Create StatsD metrics2 sink > --------------------------- > > Key: HADOOP-12360 > URL: https://issues.apache.org/jira/browse/HADOOP-12360 > Project: Hadoop Common > Issue Type: New Feature > Components: metrics > Affects Versions: 2.7.1 > Reporter: Dave Marion > Assignee: Dave Marion > Priority: Minor > Fix For: 2.8.0, 3.0.0-alpha1 > > Attachments: HADOOP-12360.001.patch, HADOOP-12360.002.patch, HADOOP-12360.003.patch, HADOOP-12360.004.patch, HADOOP-12360.005.patch, HADOOP-12360.006.patch, HADOOP-12360.007.patch, HADOOP-12360.008.patch, HADOOP-12360.009.patch, HADOOP-12360.010.patch > > > Create a metrics sink that pushes to a StatsD daemon. -- 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