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

add NimbusCloudStorage to support muti nimbus nodes #1

Open
wants to merge 3 commits into
base: nimbus-ha
Choose a base branch
from

Conversation

yveschina
Copy link

NimbusCloudStorage is an implementation of INimbusStorage which gives out a solution of nimbus-single-node problem.
Using NimbusCloudStorage we can now start nimbus processes as many as we want on storm clusters just ensure that one machine has only one nimbus process.

usage: add [nimbus.storage: "backtype.storm.nimbus.NimbusCloudStorage"] to storm/conf/storm.yaml

internal keynotes:
NimbusCloudStorage will start a loop thread on init when "storm nimbus" command is executed.
The loop thread will then recurrently compare the zk-assignments and local dir "nimbus/stormdist" to download codes.
The loop interval in seconds (default 2) can be customerized by add [nimbus.storage.cloud.loop.secs:"10"] to storm/conf/storm.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant