@InterfaceAudience.Public @InterfaceStability.Unstable public class ApplicationPlacementAllocatorFactory extends Object
Constructor and Description |
---|
ApplicationPlacementAllocatorFactory() |
Modifier and Type | Method and Description |
---|---|
static AppPlacementAllocator<SchedulerNode> |
getAppPlacementAllocator(String appPlacementAllocatorName,
AppSchedulingInfo appSchedulingInfo,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerRequestKey,
RMContext rmContext)
Get AppPlacementAllocator related to the placement type requested.
|
public ApplicationPlacementAllocatorFactory()
public static AppPlacementAllocator<SchedulerNode> getAppPlacementAllocator(String appPlacementAllocatorName, AppSchedulingInfo appSchedulingInfo, org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerRequestKey, RMContext rmContext)
appPlacementAllocatorName
- allocator class name.Copyright © 2008–2020 Apache Software Foundation. All rights reserved.