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

Andrew Purtell commented on HBASE-5061:
---------------------------------------

Thanks for the review Ted.

bq. Should @InterfaceAudience.Private be added to the class ?

Ok

bq. Is there other directory that should be skipped ?

Not previously but this is pending live cluster testing. 

bq. Since total isn't included in the report, maybe there is a better name for 
the above method ?

Ok, let's call it {{reportStats}}

bq. If serverName is a prefix of value, the region would be included in the 
collection returned. Is that intended ?

Yes, so short names can be used in place of FQDN. 

bq. The above class can be private, right ?

Sure.

                
> StoreFileLocalityChecker
> ------------------------
>
>                 Key: HBASE-5061
>                 URL: https://issues.apache.org/jira/browse/HBASE-5061
>             Project: HBase
>          Issue Type: New Feature
>    Affects Versions: 0.96.0, 0.94.1
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: HBASE-5061-0.94.patch, HBASE-5061-0.94.patch, 
> HBASE-5061.patch, HBASE-5061.patch
>
>
> org.apache.hadoop.hbase.HFileLocalityChecker [options]
> A tool to report the number of local and nonlocal HFile blocks, and the ratio 
> of as a percentage.
> Where options are:
> |-f <file>|Analyze a store file|
> |-r <region>|Analyze all store files for the region|
> |-t <table>|Analyze all store files for regions of the table served by the 
> local regionserver|
> |-h <host>|Consider <host> local, defaults to the local host|
> |-v|Verbose operation|

--
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