public class MapCollectiveContainerAllocator
extends RMContainerAllocator
Constructor and Description |
---|
MapCollectiveContainerAllocator(ClientService clientService,
AppContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleEvent(ContainerAllocatorEvent event)
How the event is generated in
TaskAttemptImpl: RequestContainerTransition
taskAttempt.eventHandler.handle(new
ContainerRequestEvent( taskAttempt.attemptId,
taskAttempt.resourceCapability,
taskAttempt.dataLocalHosts.toArray( new
String[taskAttempt.dataLocalHosts.size()]),
taskAttempt.dataLocalRacks.toArray( new
String[taskAttempt.dataLocalRacks.size()])));
|
protected void |
serviceInit(Configuration conf) |
public MapCollectiveContainerAllocator(ClientService clientService, AppContext context)
protected void serviceInit(Configuration conf) throws java.lang.Exception
java.lang.Exception
protected void handleEvent(ContainerAllocatorEvent event)