public class DeviceResourceUpdaterImpl extends NodeResourceUpdaterPlugin
| Constructor | Description |
|---|---|
DeviceResourceUpdaterImpl(java.lang.String resourceName,
DevicePlugin devicePlugin) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
updateConfiguredResource(org.apache.hadoop.yarn.api.records.Resource res) |
Update configured resource for the given component.
|
public DeviceResourceUpdaterImpl(java.lang.String resourceName,
DevicePlugin devicePlugin)
public void updateConfiguredResource(org.apache.hadoop.yarn.api.records.Resource res)
throws org.apache.hadoop.yarn.exceptions.YarnException
NodeResourceUpdaterPluginupdateConfiguredResource in class NodeResourceUpdaterPluginres - resource passed in by external module (such as
NodeStatusUpdaterorg.apache.hadoop.yarn.exceptions.YarnException - when any issue happens.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.