You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2019/09/21 03:01:00 UTC
[jira] [Created] (SPARK-29198) Thriftserver throw different
exceptions when disabling spark.sql.hive.thriftServer.async
Yuming Wang created SPARK-29198:
-----------------------------------
Summary: Thriftserver throw different exceptions when disabling spark.sql.hive.thriftServer.async
Key: SPARK-29198
URL: https://issues.apache.org/jira/browse/SPARK-29198
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.0.0
Reporter: Yuming Wang
How to reproduce:
{code:scala}
test("Verify thriftserver exceptions") {
withJdbcStatement() {statement =>
statement.executeQuery("set spark.sql.hive.thriftServer.async=true")
Thread.sleep(1000)
intercept[SQLException] {
statement.executeQuery("SELECT * from not-exist")
}
statement.executeQuery("set spark.sql.hive.thriftServer.async=false")
Thread.sleep(1000)
intercept[org.apache.hive.service.cli.HiveSQLException] {
statement.executeQuery("SELECT * from not-exist")
}
}
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org