Hi guys the fix looks less trivial than expected. We need more eyes on this problem
This is the issue https://issues.apache.org/jira/browse/ZOOKEEPER-3803 and the PR from Chevaris https://github.com/apache/zookeeper/pull/1373 Enrico Il giorno mer 15 apr 2020 alle ore 11:23 Andor Molnar <an...@apache.org> ha scritto: > I got you. It would be nice to fix that anyway. > > Andor > > > > > On 2020. Apr 14., at 17:41, Enrico Olivelli <eolive...@gmail.com> wrote: > > > > Andor, > > > > Il giorno lun 13 apr 2020 alle ore 19:59 Andor Molnar <an...@apache.org> > ha > > scritto: > > > >> Hi, > >> > >> "...during the shutdown of ZooKeeper Server" > >> > >> How do you trigger that? > >> ZooKeeper is designed to be killed. I'm not aware of a "standard" > >> shutdown procedure. > >> > > > > You are right, > > in fact I am in a test case, actually we have a "shutdown" method and the > > point is that it can lead to a NPE. > > maybe it is only a matter of test cases, but it looks very scary. > > Maybe we can add a simple null check and prevent the error, actually the > > shutdown is not done cleanly, leaving potential leaks in the JVM > > > > Not a blocker problem for anyone > > Enrico > > > > org.apache.zookeeper.server.ZooKeeperServerMain.shutdown( > > ZooKeeperServerMain.java:219) > > > > > >> > >> Andor > >> > >> > >> > >> On Fri, 2020-04-10 at 11:41 +0200, Enrico Olivelli wrote: > >>> during the shutdown of > >>> ZooKeeper Server > >> > >> > >