You can assign executors of the same topology in a worker process. For an
example if a topology has 10 executors , you can assign all of them in a
single worker slot

On Wednesday, 9 March 2016, Nick R. Katsipoulakis <[email protected]>
wrote:

> Hello all,
>
> I was going through the backtype.storm.scheduler package and I came across
> class Cluster. What is the difference between the following two methods:
>
> Cluster.getAssignableSlots(SupervisorDetails supervisor)  and
>
> Cluster.getAvailableSlots(SupervisorDetails supervisor)
>
> Also, if an executor thread is assigned to a WorkerSlot returned by
> getAvailableSlots(), can another executor thread be assigned to the same
> WorkerSlot returned by the getAssignableSlots()?
>
> Thanks,
> Nick
>


-- 
Rudraneel Chakraborty
Carleton University Real Time and Distributed Systems Reserach

Reply via email to