[ 
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

        

Reply via email to