[ 
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.5.patch

"instance.getHost()" had to be used in populating nodeToInstanceCache. 
Attaching .5 patch.

> 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, HIVE-13667.2.patch, 
> HIVE-13667.3.patch, HIVE-13667.4.patch, HIVE-13667.5.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)

Reply via email to