public abstract class NodeResourceUpdaterPlugin extends Object
NodeStatusUpdater| Constructor and Description |
|---|
NodeResourceUpdaterPlugin() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
updateConfiguredResource(org.apache.hadoop.yarn.api.records.Resource res)
Update configured resource for the given component.
|
public abstract void updateConfiguredResource(org.apache.hadoop.yarn.api.records.Resource res)
throws org.apache.hadoop.yarn.exceptions.YarnException
res - 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.