add new tasks to already assigned slots after scheduling for the first time

2017-08-01 Thread AMir Firouzi
I need some migration features for my scheduler in storm. i schedule the tasks first time based on some logic and then after a while i need to migrate some tasks to another workers. but after doing so if i assign the task to an already used slot storm(nimbus) nags about not being able to use an alr

Re: add new tasks to already assigned slots after scheduling for the first time

2017-08-03 Thread Bobby Evans
I am not completely sure why that was a requirement.  I know internally we have removed it, not sure if we pushed that change back or not yet.  On newer versions of storm 1.0.3+ that have the rewritten supervisor that check is invalid and you should be able to remove the check and just update th

Re: add new tasks to already assigned slots after scheduling for the first time

2017-08-12 Thread AMir Firouzi
thanks Bobby for your reply. I thought it might cause problems in the background and i was looking for an alternative way with lower overhead. Actually i can remove the old tasks from current slot and occupy a new slot and put together all those tasks, but i'm worried freeing a slot and taking anot