Class FSNodeStoreLogOp<M>

java.lang.Object
org.apache.hadoop.yarn.nodelabels.store.op.FSNodeStoreLogOp<M>
Type Parameters:
M - Manager used for each operation.
All Implemented Interfaces:
StoreOp<OutputStream,InputStream,M>
Direct Known Subclasses:
AddClusterLabelOp, AddNodeToAttributeLogOp, NodeAttributeMirrorOp, NodeLabelMirrorOp, NodeToLabelOp, RemoveClusterLabelOp, RemoveNodeToAttributeLogOp, ReplaceNodeToAttributeLogOp

public abstract class FSNodeStoreLogOp<M> extends Object implements StoreOp<OutputStream,InputStream,M>
Defines all FileSystem editlog operation. All node label and attribute store write or read operation will be defined in this class.
  • Constructor Details

    • FSNodeStoreLogOp

      public FSNodeStoreLogOp()
  • Method Details

    • getOpCode

      public abstract int getOpCode()
    • getNodeToAttributesMap

      protected Map<String,Set<org.apache.hadoop.yarn.api.records.NodeAttribute>> getNodeToAttributesMap(org.apache.hadoop.yarn.server.api.protocolrecords.NodesToAttributesMappingRequest request)