hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-10061) HiveConf Should not be used as part of the HS2 client side code
Date Mon, 23 Mar 2015 19:30:52 GMT
Hari Sankar Sivarama Subramaniyan created HIVE-10061:
--------------------------------------------------------

             Summary: 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


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)

Mime
View raw message