public class GpuNodeResourceUpdateHandler extends NodeResourceUpdaterPlugin
| Constructor and Description |
|---|
GpuNodeResourceUpdateHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
updateConfiguredResource(org.apache.hadoop.yarn.api.records.Resource res)
Update configured resource for the given component.
|
handleUpdatedResourceFromRMpublic 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 mododule (such as
NodeStatusUpdaterorg.apache.hadoop.yarn.exceptions.YarnException - when any issue happens.Copyright © 2022 Apache Software Foundation. All rights reserved.