[
https://issues.apache.org/jira/browse/HBASE-5628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238721#comment-13238721
]
Jonathan Hsieh commented on HBASE-5628:
---------------------------------------
Minor optimization:
in HBaseFsck#loadHdfsRegionInfos we could consolidate.
{code}
if (modTInfo = null) {
...
}
..
tablesInfo.put(tableNAme, modTInfo);
{code}
to be
{code}
if (modTInfo = null) {
...
tablesInfo.put(tableNAme, modTInfo);
}
..
{code}
> Improve performance of uberhbck
> -------------------------------
>
> Key: HBASE-5628
> URL: https://issues.apache.org/jira/browse/HBASE-5628
> Project: HBase
> Issue Type: Improvement
> Components: hbck
> Affects Versions: 0.90.7, 0.92.2, 0.94.0, 0.96.0
> Reporter: Jonathan Hsieh
>
> During reviews of HBASE-5128 there are several opportunities investigate for
> improving the performance of the tool.
> - Change regionInfoMap and tablesInfo from TreeMap to HashMap.
> - Change some full region set reloads to be incremental to require fewer
> passes.
> - Cache meta for subsequent calls of closeRegionSileneglyAndWait
--
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