You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Thiruvel Thirumoolan (JIRA)" <ji...@apache.org> on 2018/05/08 21:59:00 UTC

[jira] [Created] (HBASE-20546) Improve perf of RegionLocationFinder.mapHostNameToServerName

Thiruvel Thirumoolan created HBASE-20546:
--------------------------------------------

             Summary: Improve perf of RegionLocationFinder.mapHostNameToServerName
                 Key: HBASE-20546
                 URL: https://issues.apache.org/jira/browse/HBASE-20546
             Project: HBase
          Issue Type: Improvement
    Affects Versions: 2.0.0, 1.4.4
            Reporter: Thiruvel Thirumoolan
            Assignee: Thiruvel Thirumoolan
             Fix For: 1.5.0, 2.0.1, 1.4.5


RegionLocationFinder.getTopBlockLocations() is called multiple times during balancer. While profiling on a large table balance, mapHostNameToServerName() seem to take a lot of time. One of the maps is repeatedly consumed for each iteration, while we can just initialize it once.

Goes into both branch-1 and branch-2, although patches differ slightly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)