Github user HeartSaVioR commented on the issue: https://github.com/apache/storm/pull/2591 Yeah the valid patch should deserialize them only once while initializing worker state, and use them from both places (start and shutdown). Current implementation will not work properly if the implementation of worker hook is something stateful (since we deserialize and initialize two separate objects). @hummelm Could you address this issue? You would want to craft a patch against master branch and 1.x-branch.
---