Prasanth Jayachandran created HIVE-23466: --------------------------------------------
Summary: 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 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)