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 17011C15F for ; Thu, 3 May 2012 18:57:12 +0000 (UTC) Received: (qmail 33054 invoked by uid 500); 3 May 2012 18:57:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 32996 invoked by uid 500); 3 May 2012 18:57:11 -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 32988 invoked by uid 99); 3 May 2012 18:57:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 18:57:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 18:57:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9CAAD42E951 for ; Thu, 3 May 2012 18:56:48 +0000 (UTC) Date: Thu, 3 May 2012 18:56:48 +0000 (UTC) From: "Harsh J (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1018896566.23162.1336071408643.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <74278592.20852.1336028869484.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-3358) Specify explicitly that the NN UI status total is talking of persistent objects on heap. 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-3358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267685#comment-13267685 ] Harsh J commented on HDFS-3358: ------------------------------- bq. I think the current UI is already very clear. We should not make arbitrary changes. I understand the last point. Consider the patch cancelled until addressed. But the UI is not clear. Its of no help telling X files *and* directories in the first place, and then adding blocks to the equation just like that. And then having heap sizes reported right after it to indicate its related to that. If anything, files # and dirs # should be noted separately, which is also separately computable (but not kept computed afaik). These things may make sense to a HDFS-dev, but has never made enough sense to users, speaking frankly. What would be a better statement users (and especially, non-java users, i.e. admins) can understand? And if its not for NN's persistent objects (I wasn't talking java objects, I know each of these is a structure/collection, and on the whole they're still an object) we print that, what do we print it for AND add it to some total? > Specify explicitly that the NN UI status total is talking of persistent objects on heap. > ---------------------------------------------------------------------------------------- > > Key: HDFS-3358 > URL: https://issues.apache.org/jira/browse/HDFS-3358 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Affects Versions: 2.0.0 > Reporter: Harsh J > Assignee: Harsh J > Priority: Trivial > Attachments: HDFS-3358.patch > > > The NN shows, on its web UI, something like: > {{223 files and directories, 138 blocks = 361 total.}} > Followed by heap stats. > We should clarify this line is talking of objects and is related to the heap summaries. Perhaps just being explicit about java-terms would be nicer: > {{223 files and directories, 138 blocks = 361 total objects.}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira