[ https://issues.apache.org/jira/browse/SPARK-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davies Liu resolved SPARK-8552. ------------------------------- Resolution: Fixed Assignee: Davies Liu Fix Version/s: 1.6.0 Resolved by https://github.com/apache/spark/pull/8909 > Using incorrect database in multiple sessions > --------------------------------------------- > > Key: SPARK-8552 > URL: https://issues.apache.org/jira/browse/SPARK-8552 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 1.4.0 > Reporter: Yi Tian > Assignee: Davies Liu > Priority: Critical > Fix For: 1.6.0 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org