Use Case: I have a production storm cluster running with six workers. Currently topology A is active and consuming all six workers via conf.setNumWorkers(6). Now, launching Topology B with six workers (again via conf.setNumWorkers(6)) states the topology is active, but currently there are no available workers on the cluster for Topology B to use (as Topology A has claimed them all already) and hence Topology B is doing nothing. I believe this is due to storm requiring a priori that the sum of all topology's workers requested <= cluster worker capacity.
I am wondering why the sum of all topology workers is not normalizing the allocations for the worker pool when capacity is exceeded and auto-adjusting as new topologies come and go? Meaning, from the use case, since both topologies requested the same count of six workers, and given the finite capacity of the cluster at six actual workers, the *implemented* normalized proportion of the cluster resources for each topology would be 50% split - such that Topology A gets three actual workers and Topology B gets three actual workers as well. How would I go about implementing a dynamic re-allocation of topology workers based on the proportion of expected workers given the cluster's finite worker capacity? An idea would be allocating workers as desired for all topologies until the cluster capacity is reached, at which point the actual number of workers desired becomes a normalized proportion allocation model over the cluster. Many thanks, -Dan
