Skip to content
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

STORM-4154 - fix: Nimbus downtime during topology deployment #3833

Conversation

DiogoP98
Copy link
Contributor

@DiogoP98 DiogoP98 commented Jan 13, 2025

What is the purpose of the change

When deploying or killing a topology in a distributed cluster, we occasionally encounter downtime on the Nimbus machines.
This issue occurs due to a race condition when syncing the blobs. On some machines, the key we are trying to fetch information for during the process of creating the state in ZooKeeper for a recently downloaded blob might disappear. This results in a Thrift exception that is not being handled properly, causing the Nimbus process to crash.

This PR addresses that issue, by handling the KeyNotFoundException error when creating the state in zookeeper.

Issue: https://issues.apache.org/jira/browse/STORM-4154

How was the change tested

Compiled the project, and tested the new version of the code in Nimbus machines, forcing Nimbus to download a non-existent key.

@reiabreu
Copy link
Contributor

Thanks for the PR @DiogoP98 !

@DiogoP98 DiogoP98 force-pushed the STORM-4154-nimbus-downtime-during-topology-deployment branch from 977fd65 to bdc3a13 Compare January 13, 2025 16:53
@reiabreu reiabreu merged commit af46999 into apache:master Jan 14, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants