Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 85206 invoked from network); 11 Nov 2010 19:45:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Nov 2010 19:45:06 -0000 Received: (qmail 25786 invoked by uid 500); 11 Nov 2010 19:45:37 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 25732 invoked by uid 500); 11 Nov 2010 19:45:37 -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 25724 invoked by uid 99); 11 Nov 2010 19:45:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 19:45:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 19:45:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oABJjEic023394 for ; Thu, 11 Nov 2010 19:45:14 GMT Message-ID: <23160626.32861289504714063.JavaMail.jira@thor> Date: Thu, 11 Nov 2010 14:45:14 -0500 (EST) From: "Konstantin Boudnik (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (HDFS-1408) Herriot NN and DN clients should vend statistics MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Boudnik updated HDFS-1408: ------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) I have just committed it to trunk. > Herriot NN and DN clients should vend statistics > ------------------------------------------------ > > Key: HDFS-1408 > URL: https://issues.apache.org/jira/browse/HDFS-1408 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test > Affects Versions: 0.22.0 > Reporter: Al Thompson > Assignee: Konstantin Boudnik > Attachments: add_JMXlisteners.patch, HADOOP-6927.y20s.patch, HDFS-1408.patch, HDFS-1408.patch, HDFS-1408.patch, HDFS-1408.patch, jmx.patch, jmx.patch, jmx.patch, jmx.patch > > > The HDFS web user interface serves useful information through dfshealth.jsp and dfsnodelist.jsp. > The Herriot interface to the namenode and datanode (as implemented in NNClient and DNClient, respectively) would benefit from the addition of some way to channel this information. In the case of DNClient this can be an injected method that returns a DatanodeDescriptor relevant to the underlying datanode. > There seems to be no analagous NamenodeDescriptor. It may be useful to add this as a facade to a visitor that aggregates values across the filesystem datanodes. These values are (from dfshealth JSP): > Configured Capacity > DFS Used > Non DFS Used > DFS Remaining > DFS Used% > DFS Remaining% > Live Nodes > Dead Nodes > Decommissioning Nodes > Number of Under-Replicated Blocks > Attributes reflecting the web user interface header may also be useful such as When-Started, Version, When-Compiled, and Upgrade-Status. > A NamenodeDescriptor would essentially "push down" the code in dfshealth web UI behind a more general abstraction. If it is objectionable to make this class available in HDFS, perhaps this could be packaged in a Herriot specific way. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.