You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Bob Tiernay (JIRA)" <ji...@apache.org> on 2015/01/18 01:49:34 UTC
[jira] [Updated] (HIVE-2392) HiveConnection should support passing
clientInfo Properties
[ https://issues.apache.org/jira/browse/HIVE-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bob Tiernay updated HIVE-2392:
------------------------------
Description: When calling {{DriverManager.getConnection(String url, Properties clientInfo)}} hive should pass {{clientInfo}} to the {{this.session = new JdbcSessionState(new HiveConf(SessionState.class))}} call in {{HiveConnection(String uri, Properties info)}} to allow setting hive variables such as {hive.session.silent}. This will avoid the use of {{System.setProperty}} in the client and conform to expected jdbc usage patterns (was: When calling {DriverManager.getConnection(String url, Properties clientInfo)} hive should pass {clientInfo} to the {this.session = new JdbcSessionState(new HiveConf(SessionState.class))} call in {HiveConnection(String uri, Properties info)} to allow setting hive variables such as {hive.session.silent}. This will avoid the use of {System.setProperty} in the client and conform to expected jdbc usage patterns)
> HiveConnection should support passing clientInfo Properties
> -----------------------------------------------------------
>
> Key: HIVE-2392
> URL: https://issues.apache.org/jira/browse/HIVE-2392
> Project: Hive
> Issue Type: Improvement
> Components: JDBC
> Affects Versions: 0.7.0
> Reporter: Bob Tiernay
>
> When calling {{DriverManager.getConnection(String url, Properties clientInfo)}} hive should pass {{clientInfo}} to the {{this.session = new JdbcSessionState(new HiveConf(SessionState.class))}} call in {{HiveConnection(String uri, Properties info)}} to allow setting hive variables such as {hive.session.silent}. This will avoid the use of {{System.setProperty}} in the client and conform to expected jdbc usage patterns
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)