[ 
https://issues.apache.org/jira/browse/HIVE-23466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17110708#comment-17110708
 ] 

Prasanth Jayachandran commented on HIVE-23466:
----------------------------------------------

This patch requires TEZ-4179 and new tez release to make use of ExtendedNodeId 
API. 

> ZK registry base should remove only specific instance instead of host
> ---------------------------------------------------------------------
>
>                 Key: HIVE-23466
>                 URL: https://issues.apache.org/jira/browse/HIVE-23466
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>         Attachments: HIVE-23466.1.patch
>
>
> When ZKRegistryBase detects new ZK nodes it maintains path based cache and 
> host based cache. The host based cached already handles multiple instances 
> running in same host. But even if single instance is removed all instances 
> belonging to the host are removed. 
> Another issue is that, if single host has multiple instances it returns a Set 
> with no ordering. Ideally, we want the newest instance to be top of the set 
> (use TreeSet maybe?). 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to