[
https://issues.apache.org/jira/browse/HIVE-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135731#comment-13135731
]
Hudson commented on HIVE-2501:
------------------------------
Integrated in Hive-trunk-h0.21 #1035 (See
[https://builds.apache.org/job/Hive-trunk-h0.21/1035/])
HIVE-2501. When new instance of Hive (class) is created, the current
database
is reset to default.
(Robert Surowka via jvs)
jvs : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188986
Files :
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHive.java
> When new instance of Hive (class) is created, the current database is reset
> to default (current database shouldn't be changed).
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-2501
> URL: https://issues.apache.org/jira/browse/HIVE-2501
> Project: Hive
> Issue Type: Bug
> Reporter: Robert Surówka
> Assignee: Robert Surówka
> Priority: Minor
> Fix For: 0.9.0
>
> Attachments: HIVE-2501.1.patch, HIVE-2501.2.patch
>
>
> This bug manifested to me, when first thing I did after starting Hive, was to
> call use <db_name>; but then calling show tables; was still showing tables
> from the default database (and I had to call "use" again to actually change
> database). This bug might have manifested only due to a specific Hive
> deployment I am using (I didn't investigate this issue that deeply).
--
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