-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YARN-5924 - Resource Manager fails to load state with InvalidProtocolBufferException #164
Conversation
…BufferException: fixed checkstyle and whitespace warnings
Update PR to fix the checkstyle and whitespace tests failure. |
I realized that current solution is not good (to allow RM's launch even with broken app's data). |
Author: Shanthoosh Venkataraman <svenkataraman@linkedin.com> Reviewers: Navina Ramesh<navina@apache.org> Closes apache#164 from shanthoosh/fix-test-jmx-server-1
The solution is to catch "InvalidProtocolBufferException", show warning and remove application's folder that contains invalid data to prevent RM restart failure.
Additionally, I've added catch for other exceptions that can appear during recovering of the specific application, to avoid RM failure even if the only one application's state can't be loaded.