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.
|
handleUpdatedResourceFromRM
public void updateConfiguredResource(org.apache.hadoop.yarn.api.records.Resource res) throws org.apache.hadoop.yarn.exceptions.YarnException
NodeResourceUpdaterPlugin
updateConfiguredResource
in class NodeResourceUpdaterPlugin
res
- resource passed in by external mododule (such as
NodeStatusUpdater
org.apache.hadoop.yarn.exceptions.YarnException
- when any issue happens.Copyright © 2020 Apache Software Foundation. All rights reserved.