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 8083B10867 for ; Thu, 27 Mar 2014 16:49:29 +0000 (UTC) Received: (qmail 61939 invoked by uid 500); 27 Mar 2014 16:49:24 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 61101 invoked by uid 500); 27 Mar 2014 16:49:21 -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 60919 invoked by uid 99); 27 Mar 2014 16:49:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 16:49:18 +0000 Date: Thu, 27 Mar 2014 16:49:18 +0000 (UTC) From: "Shinichi Yamashita (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6156) Simplify the JMX API that provides snapshot information 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-6156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949563#comment-13949563 ] Shinichi Yamashita commented on HDFS-6156: ------------------------------------------ Thank you for your comment. And, I think that we do not need to convert List into Arrays. I attach the patch file. > Simplify the JMX API that provides snapshot information > ------------------------------------------------------- > > Key: HDFS-6156 > URL: https://issues.apache.org/jira/browse/HDFS-6156 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Haohui Mai > Attachments: HDFS-6156.patch > > > HDFS-5196 introduces a set of new APIs that provide snapshot information through JMX. Currently. The API nests {{SnapshotDirectoryMXBean}} into {{SnapshotStatsMXBean}}, creating another layer of composition. > This jira proposes to inline {{SnapshotDirectoryMXBean}} into {{SnapshotStatsMXBean}} and to simplify the API. -- This message was sent by Atlassian JIRA (v6.2#6252)