You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2013/08/19 23:47:48 UTC
[jira] [Commented] (HIVE-4171) Current database in metastore.Hive
is not consistent with SessionState
[ https://issues.apache.org/jira/browse/HIVE-4171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13744295#comment-13744295 ]
Thejas M Nair commented on HIVE-4171:
-------------------------------------
SessionState seems to be the correct place to have currentDatabase state. I will create a patch to move it from Hive class to SessionState. That will solve this problem and also keep this state information in just one place.
> Current database in metastore.Hive is not consistent with SessionState
> ----------------------------------------------------------------------
>
> Key: HIVE-4171
> URL: https://issues.apache.org/jira/browse/HIVE-4171
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Reporter: Navis
> Assignee: Thejas M Nair
> Labels: HiveServer2
> Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch
>
>
> metastore.Hive is thread local instance, which can have different status with SessionState. Currently the only status in metastore.Hive is database name in use.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira