Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAEF210B77 for ; Wed, 19 Nov 2014 19:44:34 +0000 (UTC) Received: (qmail 72627 invoked by uid 500); 19 Nov 2014 19:44:34 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 72574 invoked by uid 500); 19 Nov 2014 19:44:34 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 72561 invoked by uid 99); 19 Nov 2014 19:44:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2014 19:44:34 +0000 Date: Wed, 19 Nov 2014 19:44:34 +0000 (UTC) From: "Benoy Antony (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7390) Provide JMX metrics per storage type 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-7390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218379#comment-14218379 ] Benoy Antony commented on HDFS-7390: ------------------------------------ [~clamb], I was trying to satisfy the Json structure in https://issues.apache.org/jira/browse/HDFS-7390?focusedCommentId=14211474&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14211474 . Per http://www.json.org/ , anything between double quotes is a string. The following basically represents two strings. {noformat} "TieredStorageStats" : "{DISK={capacityTotal=42275598336, capacityUsed=24576, capacityRemaining=21051469824, blockPoolUsed=24576, nodesInService=1}}", {noformat} An object is denoted by curly brackets. The following represents a String and a Json Object. {code} "TieredStorageStats" : {"ARCHIVE":{"capacityTotal":1498254102528,"capacityUsed":12288,"capacityRemaining":982557745152,"blockPoolUsed":12288,"nodesInService":3},"DISK":{"capacityTotal":1498254102528,"capacityUsed":49152,"capacityRemaining":982557745152,"blockPoolUsed":49152,"nodesInService":3}} {code} > Provide JMX metrics per storage type > ------------------------------------ > > Key: HDFS-7390 > URL: https://issues.apache.org/jira/browse/HDFS-7390 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 2.5.2 > Reporter: Benoy Antony > Assignee: Benoy Antony > Attachments: HDFS-7390.patch, HDFS-7390.patch > > > HDFS-2832 added heterogeneous support. In a cluster with different storage types, it is useful to have metrics per storage type. -- This message was sent by Atlassian JIRA (v6.3.4#6332)