You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Rex Xiong (JIRA)" <ji...@apache.org> on 2015/06/23 12:01:00 UTC
[jira] [Commented] (SPARK-8552) Using incorrect database in
multiple sessions
[ https://issues.apache.org/jira/browse/SPARK-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597429#comment-14597429 ]
Rex Xiong commented on SPARK-8552:
----------------------------------
Sessions seems mess up in 1.4.0
I open two beeline A and B, both with default database.
Then run "USE DB1" in A, then run "SHOW TABLES" in B, the tables listed here come from DB1, not default.
> Using incorrect database in multiple sessions
> ---------------------------------------------
>
> Key: SPARK-8552
> URL: https://issues.apache.org/jira/browse/SPARK-8552
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.4.0
> Reporter: Yi Tian
> Priority: Critical
>
> To reproduce this problem:
> * 1. start thrift server
> {quote}
> sbin/start-thriftserver.sh
> {quote}
> * 2. first connection execute "use test"
> {quote}
> bin/beeline -u jdbc:hive2://localhost:10000/default -n any -p any -e "use test"
> {quote}
> * 3. second connection execute "show tables"
> {quote}
> bin/beeline -u jdbc:hive2://localhost:10000/default -n any -p any -e "show tables"
> {quote}
> * 4. you can find the result is the tables in {{test}} database
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org