SimpleCandidateNodeSet@Private
@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 | Description |
|---|---|---|
java.util.Map<org.apache.hadoop.yarn.api.records.NodeId,N> |
getAllNodes() |
Get all nodes for this CandidateNodeSet
|
java.lang.String |
getPartition() |
Node partition of the node set.
|
long |
getVersion() |
Version of the CandidateNodeSet, can help
AppPlacementAllocator to
decide if update is required |
java.util.Map<org.apache.hadoop.yarn.api.records.NodeId,N> getAllNodes()
long getVersion()
AppPlacementAllocator to
decide if update is requiredjava.lang.String getPartition()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.