You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2015/04/30 16:31:06 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14521569#comment-14521569 ]
Vaibhav Gumashta commented on HIVE-10061:
-----------------------------------------
+1
> 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
> Components: HiveServer2, JDBC
> Affects Versions: 1.3.0
> Reporter: Hari Sankar Sivarama Subramaniyan
> Assignee: Hari Sankar Sivarama Subramaniyan
> Fix For: 1.3.0
>
> 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)