[
https://issues.apache.org/jira/browse/HIVE-22992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060266#comment-17060266
]
Prasanth Jayachandran commented on HIVE-22992:
----------------------------------------------
{quote}When a node de-registers itself from zk, it will throw away all
instances from the cache running on that host.
{quote}
This is expected behaviour.
I am still wondering how were you able to run into this issue? If the port is
dynamic even running multiple daemons in a single host shouldn't be a problem.
Also IIRC the shutdown handler should trigger a deregister of daemon which
should throw away the cache.
The changes looks good but still I am unclear as in how this could happen.
> ZkRegistryBase caching mechanism only caches the first instance
> ---------------------------------------------------------------
>
> Key: HIVE-22992
> URL: https://issues.apache.org/jira/browse/HIVE-22992
> Project: Hive
> Issue Type: Bug
> Components: llap
> Affects Versions: 4.0.0
> Reporter: Antal Sinkovits
> Assignee: Antal Sinkovits
> Priority: Minor
> Attachments: HIVE-22992.01.patch, HIVE-22992.02.patch,
> HIVE-22992.03.patch
>
>
> ZkRegistryBase caching mechanism only caches the first instance of the llap
> node running on the same host.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)