You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Rajesh Balamohan (JIRA)" <ji...@apache.org> on 2017/02/01 08:11:52 UTC

[jira] [Updated] (HIVE-13667) Improve performance for ServiceInstanceSet.getByHost

     [ https://issues.apache.org/jira/browse/HIVE-13667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajesh Balamohan updated HIVE-13667:
------------------------------------
    Attachment: HIVE-13667.1.patch

Changes:
1. Use local cache in LlapZookeeperRegistryImpl. Cache updates are handled in InstanceStateChangeListener
2. Calls like DynamicServiceInstanceSet::getByHost, getAll etc to make use of this local cache.
3. Minor refactorings in LlapTaskSchedulerService to reduce object creation
4. Reduced the number of times LlapTaskSchedulerService::getTotalResources is invoked.



> Improve performance for ServiceInstanceSet.getByHost
> ----------------------------------------------------
>
>                 Key: HIVE-13667
>                 URL: https://issues.apache.org/jira/browse/HIVE-13667
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Siddharth Seth
>            Assignee: Rajesh Balamohan
>         Attachments: HIVE-13667.1.patch
>
>
> ServiceInstanceSet.getByHost is used for scheduling local tasks as well as constructing the log URL.
> It ends up traversing all hosts on each lookup. This should be avoided.
> cc [~prasanth_j]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)