TaskAllocationStrategy defines the behavior of task allocation strategy that is employed by a Hama job to schedule tasks in GroomServers in Hama cluster. The function selectGrooms
is responsible to define the strategy to select the grooms. This list of grooms could be used in the functions getGroomToAllocate
or getGroomsToAllocate
in the parameter selectedGrooms
. The two functions are not given the responsibility to select grooms because these functions could also be handling the task of allocating tasks on any other restricted set of grooms that the caller invokes them for.
|
|