[
https://issues.apache.org/jira/browse/HBASE-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176326#comment-13176326
]
Andrew Purtell commented on HBASE-5061:
---------------------------------------
So, currently this tool is meant to check the locality of files or regions to a
given single host, however it could be modified such that if the '-h' option is
supplied then the report looks only at the given host, otherwise it will
enumerate the live hosts in ClusterStatus and return results for all. While at
it, a new option '-j' for reporting in JSON.
Is this more what you have in mind Lars?
> StoreFileLocalityChecker
> ------------------------
>
> Key: HBASE-5061
> URL: https://issues.apache.org/jira/browse/HBASE-5061
> Project: HBase
> Issue Type: New Feature
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Minor
> Attachments: StoreFileLocalityChecker.java
>
>
> 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