[ 
https://issues.apache.org/jira/browse/HDFS-3358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267924#comment-13267924
 ] 

Harsh J commented on HDFS-3358:
-------------------------------

Nicholas,

Good question. Will make sure next time I also capture motives. My bad (again!) 
:-)

I opened this ticket after what seemed like the 4th time I needed to explain 
this to users who asked me this. They all get the *files and directories*, they 
get the *blocks*. They confuse themselves with the *total*. If they are asking 
so frequently, there's surely something they don't understand about why we've 
totaled that.

I have two new proposals in making it easier to read such a line:

* We remove totals in the lines, as it adds no real value.
* We prepend or append the line with "Filesystem objects", to indicate the 
whole line is about some FS objects (With fs being the context they need to 
read it in).
** Additionally, but optionally, we may prepend the wide heap stats area with 
"Memory status:" to signify its purpose, as well as keep it separate in 
relationship with the other parts.

The purpose of this JIRA was only to improve some text, not to simply make an 
'arbitrary change'. That I wasn't clear on why I bought this up all of a sudden 
was my fault, and that shall not happen again.

If we feel strongly no change is required or would make any benefit at all 
whatsoever, we may also close this out as Invalid :)
                
> 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
>              Labels: nitpick
>         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