[ https://issues.apache.org/jira/browse/HIVE-17409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16146252#comment-16146252 ]
Sergey Shelukhin commented on HIVE-17409: ----------------------------------------- LLAP ZK code is better and easier to reuse. I'm not sure why AM registry is more similar to HS2. HS2 code is to discover instances of a service in a load balancer type scenario. AMRegistry is a sharing/heartbeating/ownership mechanism, not discovery. In fact it's probably less similar to either HS2 or LLAP one than they are to each other. We can have a followup jira to refactor HS2 to use the same code. Code in HS2 is so dissimilar that they are unlikely to have shared bugs (other than general ones related to incorrect ZK usage or whatever). In any case both already exist. > refactor LLAP ZK registry to make the ZK-registry part reusable > --------------------------------------------------------------- > > Key: HIVE-17409 > URL: https://issues.apache.org/jira/browse/HIVE-17409 > Project: Hive > Issue Type: Bug > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Attachments: HIVE-17409.patch > > -- This message was sent by Atlassian JIRA (v6.4.14#64029)