I got it. That’s really a big problem. Thank you very much
> On 8 Mar 2018, at 21:03, kedar mhaswade <kedar.mhasw...@gmail.com> wrote: > > Also, in addition to what Gary said, if you take Flink completely out of > picture and wrote a simple Java class with a main method and the static block > (!) which does some long running task like getLiveInfo(), then chances are > that your class will make the JVM hang! > > Basically what you are doing is start a bunch of threads (which are perhaps > non-daemon by default) and leave them running. Since there is at least one > non-daemon thread that is running, the JVM is not allowed to shut down, > causing the hang. > > Regards, > Kedar