[
https://issues.apache.org/jira/browse/HIVE-23466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Magyar reassigned HIVE-23466:
------------------------------------
Assignee: Attila Magyar (was: Prasanth Jayachandran)
> 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: Attila Magyar
> 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)