[ 
https://issues.apache.org/jira/browse/HIVE-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128078#comment-13128078
 ] 

Navis commented on HIVE-2503:
-----------------------------

I'm using multiple ThriftHive.Client to single HiveServer. 

For example :
{code}
client1 = factory.getCilent(~~~);
client2 = factory.getCilent(~~~);

client1.execute("set hiveconf:var=value1");
client2.execute("set hiveconf:var=value2");

client1.execute("set hiveconf:var"); --> returns value2 
{code}
                
> HiveServer should provide per session configuration
> ---------------------------------------------------
>
>                 Key: HIVE-2503
>                 URL: https://issues.apache.org/jira/browse/HIVE-2503
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI, Server Infrastructure
>            Reporter: Navis
>
> Currently ThriftHiveProcessorFactory returns same HiveConf instance to 
> HiveServerHandler, making impossible to use per sesssion configuration. Just 
> wrapping 'conf' -> 'new HiveConf(conf)' seemed to solve this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to