virajjasani commented on pull request #3862: URL: https://github.com/apache/hbase/pull/3862#issuecomment-975342397
> The problem here is that, why a crashed region server could return zero here? Why it does not return a non zero value? @Apache9 Regionserver doesn't crash, it exits normally. It prints log: `Stopping infoServer`, however the stop is not clean because one of the non-daemon thread is still running, because of which regionserver process stays in the hanging state and on the other hand, regionserver doesn't process any request because it has already stopped. Here, if we had System.exit(0), which does represent normal exit, then non-daemon thread would also not have stopped from exiting regionserver JVM. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
