August 2017
Beginner to intermediate
284 pages
6h 51m
English
We can write our CustomScheduler class by implementing the org.apache.storm.scheduler.IScheduler interface. The interface contains two important methods:
CustomScheduler contains the following private method, which is responsible for assigning workers to the cluster supervisor slots.
The getSupervisorsByType() method returns the map. The key of the map represents the node type (for example, CPU or GPU) and the value contains the list of supervisor nodes of that type:
private Map<String, ArrayList<SupervisorDetails>> ...
Read now
Unlock full access