[ 
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)

Reply via email to