Re: IllegalStateException: Phoenix driver closed because server is shutting down

2018-09-19 Thread Batyrshin Alexander
Indeed. I see that this exception was thrown somewhere near docker restart time. Thank you for response. > On 20 Sep 2018, at 02:34, Sergey Soldatov wrote: > > That might be a misleading message. Actually, that means that JVM shutdown > has been triggered (so runtime has executed the shutdown

Re: IllegalStateException: Phoenix driver closed because server is shutting down

2018-09-19 Thread Sergey Soldatov
That might be a misleading message. Actually, that means that JVM shutdown has been triggered (so runtime has executed the shutdown hook for the driver and that's the only place where we set this message) and after that, another thread was trying to create a new connection. Thanks, Sergey On Wed,

Re: IllegalStateException: Phoenix driver closed because server is shutting down

2018-09-19 Thread Batyrshin Alexander
Version: Phoenix-4.14.0-HBase-1.4 Full trace is: java.lang.IllegalStateException: Phoenix driver closed because server is shutting down at org.apache.phoenix.jdbc.PhoenixDriver.throwDriverClosedException(PhoenixDriver.java:290) at org.apache.phoenix.jdbc.PhoenixDriver.checkClo

Re: IllegalStateException: Phoenix driver closed because server is shutting down

2018-09-19 Thread Josh Elser
What version of Phoenix are you using? Is this the full stack trace you see that touches Phoenix (or HBase) classes? On 9/19/18 12:42 PM, Batyrshin Alexander wrote: Is there any reason for this exception? Which exactly server is shutting down if we use quorum of zookepers? java.lang.IllegalSt

IllegalStateException: Phoenix driver closed because server is shutting down

2018-09-19 Thread Batyrshin Alexander
Is there any reason for this exception? Which exactly server is shutting down if we use quorum of zookepers? java.lang.IllegalStateException: Phoenix driver closed because server is shutting down at org.apache.phoenix.jdbc.PhoenixDriver.throwDriverClosedException(PhoenixDriver.java:290)