[ 
https://issues.apache.org/jira/browse/HBASE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831431#action_12831431
 ] 

Lars George commented on HBASE-2165:
------------------------------------

@ryan, not sure if I understand. As we discussed above, we would query not at 
all or only every N minutes, and since it hits the NN only it should be fast 
and not too resource intense as it has it all in RAM I would suppose.

Also, you are not the target audience, you are not a "user" you are a hbase 
developer. I am looking at those who use hbase in production but are not 
involved otherwise. Every bit of information we can give them helps I'd say. 
And since we do not switch this on by default it is left to those that wish to 
have the number to further see what their cluster does and its status-quo. 

As I said above the reasoning is that a terribly fragmented cluster is going 
slower than it should be. Just that rectifies why someone may want to know. It 
also adds the "size" of tables, something that also is not visible right now to 
users. How much raw data is stored, that may often be enough they need and no 
rowcounter run is required.

> Improve fragmentation display and implementation
> ------------------------------------------------
>
>                 Key: HBASE-2165
>                 URL: https://issues.apache.org/jira/browse/HBASE-2165
>             Project: Hadoop HBase
>          Issue Type: Improvement
>    Affects Versions: 0.20.4, 0.21.0
>            Reporter: Lars George
>            Priority: Minor
>             Fix For: 0.20.4, 0.21.0
>
>
> Improve by 
> - moving the "blocking" FS scan into a thread so that the UI loads fast and 
> initially displays "n/a" but once it has completed the scan it displays the 
> proper numbers
> - explaining what fragmentation means to the user (better hints or help text 
> in UI)
> - Switch -ROOT- (and maybe even .META.?) to simply say "Yes" or a tick that 
> it is fragmented as it only has 0% or 100% available (since it has only a 
> single region)
> - also computing the space occupied by each table and the total and - if 
> easily done - add a graph to display it (Google Pie Chart would be nice but 
> is an external link)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to