[
https://issues.apache.org/jira/browse/HIVE-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149504#comment-13149504
]
[email protected] commented on HIVE-2503:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2820/
-----------------------------------------------------------
Review request for hive and Carl Steinbach.
Summary
-------
We uses multiple HiveClient connected to single HiveServer. After configuring
connections, we've found the environment variables are different from expected.
Current hive server uses single instance of HiveConf and this seemed to make
the problem.
This addresses bug HIVE-2503.
https://issues.apache.org/jira/browse/HIVE-2503
Diffs
-----
service/src/java/org/apache/hadoop/hive/service/HiveServer.java a2d599f
Diff: https://reviews.apache.org/r/2820/diff
Testing
-------
If we use 'standAloneServer' in TestHiveServer.class, it is very simple to make
the test case. But it seemed to be 'false' which makes it more complex.
Thanks,
Navis
> 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
> Attachments: HIVE-2503.1.patch.txt
>
>
> 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