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

Thejas M Nair commented on HIVE-5153:
-------------------------------------

Note that this is not an issue with beeline+hive-server2 which in my opinion is 
the recommended client and server to be used.


                
> current database in hive prompt in cli remote mode is incorrect
> ---------------------------------------------------------------
>
>                 Key: HIVE-5153
>                 URL: https://issues.apache.org/jira/browse/HIVE-5153
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.8.0, 0.8.1, 0.9.0, 0.10.0, 0.11.0
>            Reporter: Thejas M Nair
>
> HIVE-2233 added a feature to show current database on hive cli prompt. 
> The current implementation will work only with local mode. It will not work 
> if you try connecting to hive server (v1) from hive cli. 
> This is because it relies on the Hive object in current thread to have the 
> right current database information. But when remote mode is used, the client 
> side Hive object does not get updated when database is changed.

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

Reply via email to