forcedotcom / phoenix

BSD 3-Clause "New" or "Revised" License
559 stars 227 forks source link

why ThreadPool in JobManager is not daemon。 #703

Open jaywong85 opened 10 years ago

jaywong85 commented 10 years ago

when I test jdbc in a java Main method. when the test run over. but the java process will not exits immediately.

So i just find JobMananage createThreadPoolExec code:

ThreadFactory threadFactory = new ThreadFactoryBuilder().setNameFormat( "phoenix-" + PHOENIX_POOL_INDEX.getAndIncrement()

has not set daemon.

I want to know if here admitted daemon