[
https://issues.apache.org/jira/browse/HIVE-18347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326606#comment-16326606
]
Vihang Karajgaonkar commented on HIVE-18347:
--------------------------------------------
Hi [~szehon]
I like the idea of having a pluggable way to resolve the URIs. I think this is
similar to what HIVE-18449 requires. May be the existing mechanism of
randomizing the order of URIs could also be implemented as a URIResolverHook
implementation and then the code would look a lot cleaner.
Regarding Consul support, I am not sure what Consul is and I took a quick look
at it. It seems to be that it is open sourced under Mozilla Public License so
not sure if there are any licensing complications while integrating with it.
Perhaps the Consul URI resolver hook implementation from this patch could be
separate from the Hive source code and can be just added as a custom jar in
your environment? Off-course, I am not a 100% sure either so may be other
senior folks here may be some definitive answer on adding such code for outside
tools. Or you could always email on the dev list.
> Allow dynamic lookup of Hive Metastores via Consul
> --------------------------------------------------
>
> Key: HIVE-18347
> URL: https://issues.apache.org/jira/browse/HIVE-18347
> Project: Hive
> Issue Type: New Feature
> Components: Metastore
> Reporter: Szehon Ho
> Assignee: Szehon Ho
> Priority: Major
> Attachments: HIVE-18347.1.patch, HIVE-18347.2.patch,
> HIVE-18347.3.patch
>
>
> In our organization, we have deployed HiveMetastore and HiveServer2 on Mesos
> as dynamic services for scalability and flexibility.
> In this architecture, we would like to allow HiveServer2 to dynamically load
> balance between Metastores (which may be scaled up and down or to different
> nodes) for different requests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)