cloud-fan commented on a change in pull request #29204:
URL: https://github.com/apache/spark/pull/29204#discussion_r459483612
##########
File path:
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkExecuteStatementOperation.scala
##########
@@ -238,21 +237,7 @@ private[hive] class SparkExecuteStatementOperation(
val backgroundHandle =
parentSession.getSessionManager().submitBackgroundOperation(backgroundOperation)
setBackgroundHandle(backgroundHandle)
- } catch {
- case rejected: RejectedExecutionException =>
- logError("Error submitting query in background, query rejected",
rejected)
- setState(OperationState.ERROR)
- HiveThriftServer2.eventManager.onStatementError(
- statementId, rejected.getMessage,
SparkUtils.exceptionString(rejected))
- throw new HiveSQLException("The background threadpool cannot accept"
+
- " new task for execution, please retry the operation", rejected)
- case NonFatal(e) =>
- logError(s"Error executing query in background", e)
Review comment:
shall we keep the message `... in background` in
https://github.com/apache/spark/pull/29204/files#diff-424526b50bfb53733a4c2e6c6a3ddd8dR121
?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]