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

Reply via email to