From common-issues-return-183584-apmail-hadoop-common-issues-archive=hadoop.apache.org@hadoop.apache.org Tue Aug 20 20:41:02 2019 Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 8DBC61905C for ; Tue, 20 Aug 2019 20:41:02 +0000 (UTC) Received: (qmail 45313 invoked by uid 500); 20 Aug 2019 20:41:01 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 45259 invoked by uid 500); 20 Aug 2019 20:41:01 -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 45161 invoked by uid 99); 20 Aug 2019 20:41:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2019 20:41:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D2D2FE305C for ; Tue, 20 Aug 2019 20:41:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 481AE780996 for ; Tue, 20 Aug 2019 20:41:00 +0000 (UTC) Date: Tue, 20 Aug 2019 20:41:00 +0000 (UTC) From: "Hadoop QA (Jira)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13477) Hadoop metrics can be only sent to the first ganglia gmond server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-13477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911716#comment-16911716 ] Hadoop QA commented on HADOOP-13477: ------------------------------------ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s{color} | {color:blue} Docker mode activated. {color} | | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 10s{color} | {color:red} HADOOP-13477 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | HADOOP-13477 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12823013/HADOOP-13477.002.patch | | Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/16495/console | | Powered by | Apache Yetus 0.8.0 http://yetus.apache.org | This message was automatically generated. > Hadoop metrics can be only sent to the first ganglia gmond server > ----------------------------------------------------------------- > > Key: HADOOP-13477 > URL: https://issues.apache.org/jira/browse/HADOOP-13477 > Project: Hadoop Common > Issue Type: Bug > Components: metrics > Affects Versions: 2.7.2, 2.6.4 > Reporter: JerryXin > Assignee: JerryXin > Priority: Minor > Labels: ganglia, metrics, stale > Attachments: HADOOP-13477.001.patch, HADOOP-13477.002.patch > > > Ganglia metrics can be only sent to the first metric server. > If I config namenode.sink.ganglia.servers=host1:8649,host2:8649 in hadoop-metrics2.properties,then metrics can only be sent to host1,host2 will never receive them.This means if gmond on host1 is down,metrics will not be collected. > This happens because GangliaSink parse metric servers use a getString method in SubsetConfiguration,while this method return only the first element in the list. -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org