java.lang.AutoCloseable, java.io.Closeablepublic interface NodeAttributeStore
extends java.io.Closeable
| Modifier and Type | Method | Description |
|---|---|---|
void |
addNodeAttributes(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes> nodeToAttribute) |
Add attribute to node.
|
void |
init(org.apache.hadoop.conf.Configuration configuration,
NodeAttributesManager mgr) |
Initialize based on configuration and NodeAttributesManager.
|
void |
recover() |
Recover store on resource manager startup.
|
void |
removeNodeAttributes(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes> nodeToAttribute) |
Remove attribute from node.
|
void |
replaceNodeAttributes(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes> nodeToAttribute) |
Replace labels on node.
|
void replaceNodeAttributes(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes> nodeToAttribute)
throws java.io.IOException
nodeToAttribute - node to attribute list.java.io.IOException - io error occur.void addNodeAttributes(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes> nodeToAttribute)
throws java.io.IOException
nodeToAttribute - node to attribute list.java.io.IOException - io error occur.void removeNodeAttributes(java.util.List<org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes> nodeToAttribute)
throws java.io.IOException
nodeToAttribute - node to attribute list.java.io.IOException - io error occur.void init(org.apache.hadoop.conf.Configuration configuration,
NodeAttributesManager mgr)
throws java.lang.Exception
configuration - configuration instance.mgr - node attribute manager instance.java.lang.Exception - exception occurs.void recover()
throws java.io.IOException,
org.apache.hadoop.yarn.exceptions.YarnException
java.io.IOException - io error occur.org.apache.hadoop.yarn.exceptions.YarnException - exceptions from yarn servers.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.