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 C3108200D42 for ; Fri, 17 Nov 2017 15:52:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C1C89160C0B; Fri, 17 Nov 2017 14:52:04 +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 1451C160BF8 for ; Fri, 17 Nov 2017 15:52:03 +0100 (CET) Received: (qmail 65528 invoked by uid 500); 17 Nov 2017 14:52:03 -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 65517 invoked by uid 99); 17 Nov 2017 14:52:03 -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; Fri, 17 Nov 2017 14:52:03 +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 4A8A11A0835 for ; Fri, 17 Nov 2017 14:52:02 +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-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id LgS8h3e7KNLT for ; Fri, 17 Nov 2017 14:52:01 +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 30B485F6BE for ; Fri, 17 Nov 2017 14:52:01 +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 A6A2EE0F13 for ; Fri, 17 Nov 2017 14:52:00 +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 56266240DA for ; Fri, 17 Nov 2017 14:52:00 +0000 (UTC) Date: Fri, 17 Nov 2017 14:52:00 +0000 (UTC) From: "Elek, Marton (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HDFS-12807) Ozone: Expose RockDB stats via JMX for Ozone metadata stores MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Nov 2017 14:52:04 -0000 [ https://issues.apache.org/jira/browse/HDFS-12807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16257069#comment-16257069 ] Elek, Marton edited comment on HDFS-12807 at 11/17/17 2:51 PM: --------------------------------------------------------------- This patch expose the rocksdb statistical information on JMX with the helping of a dynamic JMX bean. The level of the required information could be configured. The biggest change is the bump of the rocksdb version from 5.5.5 to 5.8.0. In rocksdb 5.5.5 there is no method to adjust the statistics level (in fact there is the method in the native interface but it's not exposed to the java level, so we can't set to measure everything.) To test: Start a full ozone cluster and check /jmx endpoint on scm/ksm ui. There should be a rocksdb metrics bean. was (Author: elek): This patch expose the rocksdb statistical information on JMX with the helping of a dynamic JMX bean. The level of the required information could be configured. The biggest change is the bump of the rocksdb version from 5.5.5 to 5.8.0. In rocksdb 5.5.5 there is method to adjust the statistics level (in fact there is the method in the native interface but it's not exposed to the java level, so we can't set to measure everything.) To test: Start a full ozone cluster and check /jmx endpoint on scm/ksm ui. There should be a rocksdb metrics bean. > Ozone: Expose RockDB stats via JMX for Ozone metadata stores > ------------------------------------------------------------ > > Key: HDFS-12807 > URL: https://issues.apache.org/jira/browse/HDFS-12807 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Xiaoyu Yao > Assignee: Elek, Marton > Attachments: HDFS-12807-HDFS-7240.001.patch > > > RocksDB JNI has an option to expose stats, this can be further exposed to graphs and monitoring applications. We should expose them to our Rocks metadata store implementation for troubleshooting metadata related performance issues. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org