aturoczy commented on code in PR #4856:
URL: https://github.com/apache/hive/pull/4856#discussion_r1386291771
##########
ql/src/java/org/apache/hadoop/hive/ql/Driver.java:
##########
@@ -508,6 +508,10 @@ private void compile(String command, boolean resetTaskIds,
boolean deferClose) t
perfLogger.PerfLogBegin(CLASS_NAME, PerfLogger.COMPILE);
lDrvState.stateLock.lock();
try {
+ if (lDrvState.driverState == DriverState.DESTROYED ||
lDrvState.driverState == DriverState.CLOSED) {
+ LOG.warn("FAILED: Query command could not be compiled because driver
has been cancelled, closed or destroyed.");
Review Comment:
Maybe better:
_Query compilation failed as the driver was canceled, closed, or destroyed_
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]