| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.nodemanager.api.deviceplugin |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.com.nec |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.com.nvidia |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.deviceframework |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.yarn.server.nodemanager.webapp.dao |
| Modifier and Type | Method | Description |
|---|---|---|
Device |
Device.Builder.build() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<Device> |
DevicePluginScheduler.allocateDevices(java.util.Set<Device> availableDevices,
int count,
java.util.Map<java.lang.String,java.lang.String> env) |
Called when allocating devices.
|
java.util.Set<Device> |
DevicePlugin.getDevices() |
Called when update node resource.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<Device> |
DevicePluginScheduler.allocateDevices(java.util.Set<Device> availableDevices,
int count,
java.util.Map<java.lang.String,java.lang.String> env) |
Called when allocating devices.
|
DeviceRuntimeSpec |
DevicePlugin.onDevicesAllocated(java.util.Set<Device> allocatedDevices,
YarnRuntimeType yarnRuntime) |
Asking how these devices should be prepared/used
before/when container launch.
|
void |
DevicePlugin.onDevicesReleased(java.util.Set<Device> releasedDevices) |
Called after device released.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<Device> |
NECVEPlugin.allocateDevices(java.util.Set<Device> availableDevices,
int count,
java.util.Map<java.lang.String,java.lang.String> env) |
|
java.util.Set<Device> |
NECVEPlugin.getDevices() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<Device> |
NECVEPlugin.allocateDevices(java.util.Set<Device> availableDevices,
int count,
java.util.Map<java.lang.String,java.lang.String> env) |
|
DeviceRuntimeSpec |
NECVEPlugin.onDevicesAllocated(java.util.Set<Device> set,
YarnRuntimeType yarnRuntimeType) |
|
void |
NECVEPlugin.onDevicesReleased(java.util.Set<Device> releasedDevices) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<Device> |
NvidiaGPUPluginForRuntimeV2.allocateDevices(java.util.Set<Device> availableDevices,
int count,
java.util.Map<java.lang.String,java.lang.String> envs) |
|
java.util.Map<java.lang.Integer,java.util.List<java.util.Map.Entry<java.util.Set<Device>,java.lang.Integer>>> |
NvidiaGPUPluginForRuntimeV2.getCostTable() |
|
java.util.Set<Device> |
NvidiaGPUPluginForRuntimeV2.getDevices() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
NvidiaGPUPluginForRuntimeV2.computeCostOfDevices(Device[] devices) |
The cost function used to calculate costs of a sub set of devices.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<Device> |
NvidiaGPUPluginForRuntimeV2.allocateDevices(java.util.Set<Device> availableDevices,
int count,
java.util.Map<java.lang.String,java.lang.String> envs) |
|
void |
NvidiaGPUPluginForRuntimeV2.basicSchedule(java.util.Set<Device> allocation,
int count,
java.util.Set<Device> availableDevices) |
|
DeviceRuntimeSpec |
NvidiaGPUPluginForRuntimeV2.onDevicesAllocated(java.util.Set<Device> allocatedDevices,
YarnRuntimeType yarnRuntime) |
|
void |
NvidiaGPUPluginForRuntimeV2.onDevicesReleased(java.util.Set<Device> releasedDevices) |
|
void |
NvidiaGPUPluginForRuntimeV2.topologyAwareSchedule(java.util.Set<Device> allocation,
int count,
java.util.Map<java.lang.String,java.lang.String> envs,
java.util.Set<Device> availableDevices,
java.util.Map<java.lang.Integer,java.util.List<java.util.Map.Entry<java.util.Set<Device>,java.lang.Integer>>> cTable) |
Topology Aware schedule algorithm.
|
| Modifier and Type | Method | Description |
|---|---|---|
Device |
AssignedDevice.getDevice() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.util.Set<Device>> |
DeviceMappingManager.getAllAllowedDevices() |
|
java.util.Set<Device> |
DeviceMappingManager.getAllocatedDevices(java.lang.String resourceName,
org.apache.hadoop.yarn.api.records.ContainerId cId) |
|
java.util.Map<java.lang.String,java.util.Map<Device,org.apache.hadoop.yarn.api.records.ContainerId>> |
DeviceMappingManager.getAllUsedDevices() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.deviceframework.DeviceResourceHandlerImpl.DeviceType |
DeviceResourceHandlerImpl.getDeviceType(Device device) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
DeviceMappingManager.addDeviceSet(java.lang.String resourceName,
java.util.Set<Device> deviceSet) |
| Constructor | Description |
|---|---|
AssignedDevice(org.apache.hadoop.yarn.api.records.ContainerId cId,
Device dev) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<Device> |
NMDeviceResourceInfo.getTotalDevices() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
NMDeviceResourceInfo.setTotalDevices(java.util.List<Device> totalDevices) |
| Constructor | Description |
|---|---|
NMDeviceResourceInfo(java.util.List<Device> totalDevices,
java.util.List<AssignedDevice> assignedDevices) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.