@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface CandidateNodeSet<N extends SchedulerNode>
AppPlacementAllocator
or other class to check if it's required to
invalidate local caches, etc.
3) Node partition of the candidate set.Modifier and Type | Method and Description |
---|---|
Map<org.apache.hadoop.yarn.api.records.NodeId,N> |
getAllNodes()
Get all nodes for this CandidateNodeSet
|
String |
getPartition()
Node partition of the node set.
|
long |
getVersion()
Version of the CandidateNodeSet, can help
AppPlacementAllocator to
decide if update is required |
Map<org.apache.hadoop.yarn.api.records.NodeId,N> getAllNodes()
long getVersion()
AppPlacementAllocator
to
decide if update is requiredString getPartition()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.