public abstract class RMContainerRequestor extends RMCommunicator
allocatorThread, applicationACLs, applicationAttemptId, applicationId, eventHandler, isSignalled, scheduler| Constructor and Description |
|---|
RMContainerRequestor(ClientService clientService,
AppContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addContainerReq(org.apache.hadoop.mapreduce.v2.app.rm.RMContainerRequestor.ContainerRequest req) |
protected void |
computeIgnoreBlacklisting() |
protected void |
containerFailedOnHost(String hostName) |
protected void |
decContainerReq(org.apache.hadoop.mapreduce.v2.app.rm.RMContainerRequestor.ContainerRequest req) |
protected org.apache.hadoop.yarn.api.records.Resource |
getAvailableResources() |
protected org.apache.hadoop.mapreduce.v2.app.rm.RMContainerRequestor.ContainerRequest |
getFilteredContainerRequest(org.apache.hadoop.mapreduce.v2.app.rm.RMContainerRequestor.ContainerRequest orig) |
void |
init(org.apache.hadoop.conf.Configuration conf) |
protected boolean |
isNodeBlacklisted(String hostname) |
protected org.apache.hadoop.yarn.api.records.AMResponse |
makeRemoteRequest() |
protected void |
release(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
createSchedulerProxy, getApplicationProgress, getContext, getJob, getLastHeartbeatTime, getMaxContainerCapability, getMinContainerCapability, heartbeat, register, runOnNextHeartbeat, setShouldUnregister, setSignalled, start, startAllocatorThread, stop, unregisterpublic RMContainerRequestor(ClientService clientService, AppContext context)
public void init(org.apache.hadoop.conf.Configuration conf)
init in interface org.apache.hadoop.yarn.service.Serviceinit in class RMCommunicatorprotected org.apache.hadoop.yarn.api.records.AMResponse makeRemoteRequest()
throws org.apache.hadoop.yarn.exceptions.YarnRemoteException
org.apache.hadoop.yarn.exceptions.YarnRemoteExceptionprotected void computeIgnoreBlacklisting()
protected void containerFailedOnHost(String hostName)
protected org.apache.hadoop.yarn.api.records.Resource getAvailableResources()
protected void addContainerReq(org.apache.hadoop.mapreduce.v2.app.rm.RMContainerRequestor.ContainerRequest req)
protected void decContainerReq(org.apache.hadoop.mapreduce.v2.app.rm.RMContainerRequestor.ContainerRequest req)
protected void release(org.apache.hadoop.yarn.api.records.ContainerId containerId)
protected boolean isNodeBlacklisted(String hostname)
protected org.apache.hadoop.mapreduce.v2.app.rm.RMContainerRequestor.ContainerRequest getFilteredContainerRequest(org.apache.hadoop.mapreduce.v2.app.rm.RMContainerRequestor.ContainerRequest orig)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.