Github user wurstmeister commented on the pull request:
https://github.com/apache/storm/pull/282#issuecomment-57995451
Thanks @HeartSaVioR! should be fixed now.
I was wondering if we actually need this retry logic. i.e. if we can just
reset the state whenever there is an IOException (rather than not starting up
and users having to manually remove state files).
I am not sure why the retry logic was implemented this way, so I picked out
the empty file case because that's been reported multiple times (incl the
workaround of resetting the state).
---
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.
---