java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.numa.NumaResourceAllocation
- All Implemented Interfaces:
Serializable
NumaResourceAllocation contains Memory nodes and CPU nodes assigned to a
container.
- See Also:
-
-
Constructor Summary
Constructors
-
Method Summary
boolean
org.apache.hadoop.thirdparty.com.google.common.collect.ImmutableMap<String,Integer>
org.apache.hadoop.thirdparty.com.google.common.collect.ImmutableMap<String,Long>
int
-
Constructor Details
-
-
NumaResourceAllocation
public NumaResourceAllocation(String memNodeId,
long memory,
String cpuNodeId,
int cpus)
-
Method Details
-
-
-
getNodeVsMemory
public org.apache.hadoop.thirdparty.com.google.common.collect.ImmutableMap<String,Long> getNodeVsMemory()
-
getNodeVsCpus
public org.apache.hadoop.thirdparty.com.google.common.collect.ImmutableMap<String,Integer> getNodeVsCpus()
-
-
-