GitHub user liyinan926 opened a pull request:
https://github.com/apache/helix/pull/35
Makes TaskStateModel gets properly shutdown when the JVM exists
`TaskStateModel.shutdown()` is not called anywhere in the code base. This
PR adds a `ShutdownHook` to properly shutdown each `TaskStateModel` instance.
Signed-off-by: Yinan Li <[email protected]>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liyinan926/helix task-state-model-shutdown
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/helix/pull/35.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #35
----
commit 75e7ecbe63eb5a402f3d3987364967535f00e096
Author: Yinan Li <[email protected]>
Date: 2015-09-09T00:14:55Z
Makes TaskStateModel gets properly shutdown when the JVM exists
Signed-off-by: Yinan Li <[email protected]>
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---