Andor,

Il giorno lun 13 apr 2020 alle ore 19:59 Andor Molnar <[email protected]> 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
>
>

Reply via email to