public class DeviceResourceUpdaterImpl extends NodeResourceUpdaterPlugin
| Constructor and Description | 
|---|
| DeviceResourceUpdaterImpl(String resourceName,
                         DevicePlugin devicePlugin) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | updateConfiguredResource(org.apache.hadoop.yarn.api.records.Resource res)Update configured resource for the given component. | 
public DeviceResourceUpdaterImpl(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–2023 Apache Software Foundation. All rights reserved.