virajjasani opened a new pull request, #2652:
URL: https://github.com/apache/phoenix/pull/2652

   Jira: PHOENIX-8041
   
   PhoenixDriver.INSTANCE has one QueryServicesImpl per JVM, and all 
connections made through this driver share its thread pool. The pool's thread 
factory comes from Executors.defaultThreadFactory(), which puts every new 
thread in the ThreadGroup of the thread that created the factory. The pool 
allows core thread timeout, so when it is idle, all its threads exit. If that 
ThreadGroup is destroyed after this, the pool can no longer create threads, and 
every task submitted to it fails with IllegalThreadStateException.
   The pools in PhoenixHAExecutorServiceProvider have similar problem.


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

Reply via email to