From hdfs-issues-return-217978-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Tue Apr 24 22:58:17 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id F3758180671 for ; Tue, 24 Apr 2018 22:58:16 +0200 (CEST) Received: (qmail 36985 invoked by uid 500); 24 Apr 2018 20:58:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 36838 invoked by uid 99); 24 Apr 2018 20:58:13 -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; Tue, 24 Apr 2018 20:58:13 +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 9C67CC0575 for ; Tue, 24 Apr 2018 20:58:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 3BRcSY1R8AcX for ; Tue, 24 Apr 2018 20:58:11 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CE75060FDE for ; Tue, 24 Apr 2018 20:58:09 +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 D41E4E1299 for ; Tue, 24 Apr 2018 20:58:08 +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 ACC7A241DF for ; Tue, 24 Apr 2018 20:58:08 +0000 (UTC) Date: Tue, 24 Apr 2018 20:58:08 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-12684) Ozone: SCMMXBean NodeCount is overlapping with NodeManagerMXBean 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/HDFS-12684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451085#comment-16451085 ] Hudson commented on HDFS-12684: ------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/]) HDFS-12684. Ozone: SCMMXBean NodeCount is overlapping with (cheersyang: rev 218f6f61bf230e3178905c01fa3a2e747b08c5ea) * (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestSCMMXBean.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/StorageContainerManager.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/SCMMXBean.java > Ozone: SCMMXBean NodeCount is overlapping with NodeManagerMXBean > ---------------------------------------------------------------- > > Key: HDFS-12684 > URL: https://issues.apache.org/jira/browse/HDFS-12684 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone, scm > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Priority: Minor > Fix For: HDFS-7240 > > Attachments: HDFS-12684-HDFS-7240.001.patch > > > I found this issue while reviewing HDFS-11468, from http://scm_host:9876/jmx, both SCM and SCMNodeManager has {{NodeCount}} metrics > {noformat} > { > "name" : "Hadoop:service=StorageContainerManager,name=StorageContainerManagerInfo,component=ServerRuntime", > "modelerType" : "org.apache.hadoop.ozone.scm.StorageContainerManager", > "ClientRpcPort" : "9860", > "DatanodeRpcPort" : "9861", > "NodeCount" : [ { > "key" : "STALE", > "value" : 0 > }, { > "key" : "DECOMMISSIONING", > "value" : 0 > }, { > "key" : "DECOMMISSIONED", > "value" : 0 > }, { > "key" : "FREE_NODE", > "value" : 0 > }, { > "key" : "RAFT_MEMBER", > "value" : 0 > }, { > "key" : "HEALTHY", > "value" : 0 > }, { > "key" : "DEAD", > "value" : 0 > }, { > "key" : "UNKNOWN", > "value" : 0 > } ], > "CompileInfo" : "2017-10-17T06:47Z xxx", > "Version" : "3.1.0-SNAPSHOT, r6019a25908ce75155656f13effd8e2e53ed43461", > "SoftwareVersion" : "3.1.0-SNAPSHOT", > "StartedTimeInMillis" : 1508393551065 > }, { > "name" : "Hadoop:service=SCMNodeManager,name=SCMNodeManagerInfo", > "modelerType" : "org.apache.hadoop.ozone.scm.node.SCMNodeManager", > "NodeCount" : [ { > "key" : "STALE", > "value" : 0 > }, { > "key" : "DECOMMISSIONING", > "value" : 0 > }, { > "key" : "DECOMMISSIONED", > "value" : 0 > }, { > "key" : "FREE_NODE", > "value" : 0 > }, { > "key" : "RAFT_MEMBER", > "value" : 0 > }, { > "key" : "HEALTHY", > "value" : 0 > }, { > "key" : "DEAD", > "value" : 0 > }, { > "key" : "UNKNOWN", > "value" : 0 > } ], > "OutOfChillMode" : false, > "MinimumChillModeNodes" : 1, > "ChillModeStatus" : "Still in chill mode, waiting on nodes to report in. 0 nodes reported, minimal 1 nodes required." > } > {noformat} > hence, propose to remove {{NodeCount}} from {{SCMMXBean}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org