Package | Description |
---|---|
org.apache.hadoop.yarn.service.api.records |
Modifier and Type | Method and Description |
---|---|
PlacementPolicy |
Component.getPlacementPolicy() |
PlacementPolicy |
Service.getPlacementPolicy() |
PlacementPolicy |
PlacementPolicy.label(String label)
Assigns a service to a named partition of the cluster where the service
desires to run (optional).
|
Modifier and Type | Method and Description |
---|---|
Component |
Component.placementPolicy(PlacementPolicy placementPolicy)
Advanced scheduling and placement policies for all containers of this
component (optional).
|
Service |
Service.placementPolicy(PlacementPolicy placementPolicy)
Advanced scheduling and placement policies (optional).
|
void |
Component.setPlacementPolicy(PlacementPolicy placementPolicy) |
void |
Service.setPlacementPolicy(PlacementPolicy placementPolicy) |
Copyright © 2018 Apache Software Foundation. All rights reserved.