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/26 23:47:52 UTC

[jira] [Created] (HIVE-5153) current database in hive prompt in cli remote mode is incorrect

Thejas M Nair created HIVE-5153:
-----------------------------------

             Summary: 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.11.0, 0.10.0, 0.9.0, 0.8.1, 0.8.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