You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hari Sankar Sivarama Subramaniyan (JIRA)" <ji...@apache.org> on 2015/04/30 00:54:07 UTC
[jira] [Updated] (HIVE-10061) HiveConf Should not be used as part
of the HS2 client side code
[ https://issues.apache.org/jira/browse/HIVE-10061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hari Sankar Sivarama Subramaniyan updated HIVE-10061:
-----------------------------------------------------
Attachment: HIVE-10061.1.patch
[~vgumashta] Can you review this please?
Thanks
Hari
> HiveConf Should not be used as part of the HS2 client side code
> ---------------------------------------------------------------
>
> Key: HIVE-10061
> URL: https://issues.apache.org/jira/browse/HIVE-10061
> Project: Hive
> Issue Type: Bug
> Reporter: Hari Sankar Sivarama Subramaniyan
> Assignee: Hari Sankar Sivarama Subramaniyan
> Attachments: HIVE-10061.1.patch
>
>
> HiveConf crept in to the JDBC driver via the embedded mode check.
> if (isEmbeddedMode) {
> EmbeddedThriftBinaryCLIService embeddedClient = new EmbeddedThriftBinaryCLIService();
> embeddedClient.init(new HiveConf());
> client = embeddedClient;
> } else {
> ....
> Ideally we'd like to keep driver code free of these dependencies.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)