rbalamohan commented on pull request #3046: URL: https://github.com/apache/hive/pull/3046#issuecomment-1049360307
Is it because of https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/util/concurrent/ThreadPoolExecutor.java#L1061 ? {code} boolean timed = allowCoreThreadTimeOut || wc > corePoolSize; .. ... ... Runnable r = timed ? workQueue.poll(keepAliveTime, TimeUnit.NANOSECONDS) : workQueue.take(); {code} However, allowCoreThreadTimeOut will be false by default. So unless someone explicitly sets allowCoreThreadTimeOut(true), this condition should not happen. Can you share the logs when you observed 1 minute delay in shutdown? -- 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]
