Modifier and Type | Method and Description |
---|---|
void |
MesosResourceManager.startNewWorker(ResourceProfile resourceProfile) |
Modifier and Type | Method and Description |
---|---|
ResourceProfile |
MesosWorkerStore.Worker.profile()
Get the resource profile associated with the worker.
|
Modifier and Type | Method and Description |
---|---|
static MesosWorkerStore.Worker |
MesosWorkerStore.Worker.newWorker(org.apache.mesos.Protos.TaskID taskID,
ResourceProfile profile)
Create a new worker with the given taskID.
|
Modifier and Type | Field and Description |
---|---|
static ResourceProfile |
ResourceProfile.UNKNOWN |
Modifier and Type | Method and Description |
---|---|
ResourceProfile |
SlotProfile.getResourceProfile()
Returns the desired resource profile for the slot.
|
ResourceProfile |
TaskManagerSlot.getResourceProfile() |
Modifier and Type | Method and Description |
---|---|
int |
ResourceProfile.compareTo(ResourceProfile other) |
boolean |
ResourceProfile.isMatching(ResourceProfile required)
Check whether required resource profile can be matched.
|
boolean |
TaskManagerSlot.isMatchingRequirement(ResourceProfile required)
Check whether required resource profile can be matched by this slot.
|
static SlotProfile |
SlotProfile.noLocality(ResourceProfile resourceProfile)
Returns a slot profile for the given resource profile, without any locality requirements.
|
static SlotProfile |
SlotProfile.preferredLocality(ResourceProfile resourceProfile,
Collection<TaskManagerLocation> preferredLocations)
Returns a slot profile for the given resource profile and the preferred locations.
|
static SlotProfile |
SlotProfile.priorAllocation(ResourceProfile resourceProfile,
Collection<AllocationID> priorAllocations)
Returns a slot profile for the given resource profile and the prior allocations.
|
Constructor and Description |
---|
ResourceProfile(ResourceProfile other)
Creates a copy of the given ResourceProfile.
|
SlotProfile(ResourceProfile resourceProfile,
Collection<TaskManagerLocation> preferredLocations,
Collection<AllocationID> priorAllocations) |
TaskManagerSlot(SlotID slotId,
ResourceProfile resourceProfile,
TaskExecutorConnection taskManagerConnection) |
Modifier and Type | Method and Description |
---|---|
ResourceProfile |
SlotRequest.getResourceProfile()
Get the resource profile of the desired slot
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceManagerServices.allocateResource(ResourceProfile resourceProfile)
Allocates a resource according to the resource profile.
|
abstract void |
ResourceManager.startNewWorker(ResourceProfile resourceProfile)
Allocates a resource using the resource profile.
|
void |
StandaloneResourceManager.startNewWorker(ResourceProfile resourceProfile) |
Constructor and Description |
---|
SlotRequest(JobID jobId,
AllocationID allocationId,
ResourceProfile resourceProfile,
String targetAddress) |
Modifier and Type | Method and Description |
---|---|
ResourceProfile |
PendingSlotRequest.getResourceProfile() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceActions.allocateResource(ResourceProfile resourceProfile)
Requests to allocate a resource with the given
ResourceProfile . |
protected PendingSlotRequest |
SlotManager.findMatchingRequest(ResourceProfile slotResourceProfile)
Finds a matching slot request for a given resource profile.
|
protected TaskManagerSlot |
SlotManager.findMatchingSlot(ResourceProfile requestResourceProfile)
Finds a matching slot for a given resource profile.
|
Modifier and Type | Method and Description |
---|---|
ResourceProfile |
SlotStatus.getResourceProfile()
Get the resource profile of this slot
|
Constructor and Description |
---|
SlotStatus(SlotID slotID,
ResourceProfile resourceProfile) |
SlotStatus(SlotID slotID,
ResourceProfile resourceProfile,
JobID jobID,
AllocationID allocationID) |
Modifier and Type | Method and Description |
---|---|
ResourceProfile |
TaskSlot.getResourceProfile() |
ResourceProfile |
SlotOffer.getResourceProfile() |
Constructor and Description |
---|
SlotOffer(AllocationID allocationID,
int index,
ResourceProfile resourceProfile) |
Constructor and Description |
---|
TaskSlotTable(Collection<ResourceProfile> resourceProfiles,
TimerService<AllocationID> timerService) |
Modifier and Type | Method and Description |
---|---|
void |
YarnResourceManager.startNewWorker(ResourceProfile resourceProfile) |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.