Skip to content

MesosNimbus locks in executor URI of newly launched topologies#5

Open
jasonjckn wants to merge 1 commit intonathanmarz:masterfrom
jasonjckn:master
Open

MesosNimbus locks in executor URI of newly launched topologies#5
jasonjckn wants to merge 1 commit intonathanmarz:masterfrom
jasonjckn:master

Conversation

@jasonjckn
Copy link
Collaborator

Previously if you accidentally had supervisors die, or new assignments, and you changed executor URI path, or overwrote the file that it points to, topologies would run on split versions and you'd never know with certainty which version of storm-mesos-0.0.1 a topology was using.

The new model is immutable for the lifetime of the topology. an executor URI is chosen when a topology is first launch and this setting is permanent until the topology is resubmitted. the URI state is kept in zookeeper. If you change mesos.executor.uri.default, then only newly launched topologies will use this value. I've also added mesos.executor.uri.overrides which overrides the default value, this allows you to gradually release version to users at your discretion, and you can slowly roll out your updates.
In this new model, whenever you do a new release of storm-mesos you place it at a new location, with a new URI. If you do an in-place update, then the behaviour is as it was before this patch.

@jasonjckn
Copy link
Collaborator Author

This pull depends on nathanmarz/storm#520

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.

1 participant