chenruotao commented on code in PR #4856:
URL: https://github.com/apache/hive/pull/4856#discussion_r1386320870


##########
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:
   But there is no driverState named canceled, i think the closed of 
driverStates include canceled



-- 
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]

Reply via email to