@InterfaceAudience.Private @InterfaceStability.Unstable

# Package org.apache.hadoop.yarn.server.nodemanager.nodelabels

Package to encapsulate classes used to handle node labels and node attributes in NM.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  NodeDescriptorsProvider<T> | Interface which will be responsible for fetching node descriptors, a node descriptor could be a `NodeLabel` or a `NodeAttribute`.

- Class Summary
  Class | Description
  --- | ---
  AbstractNodeDescriptorsProvider<T> | Provides base implementation of NodeDescriptorsProvider with Timer and expects subclass to provide TimerTask which can fetch node descriptors.
  ConfigurationNodeAttributesProvider | Configuration based node attributes provider.
  ConfigurationNodeLabelsProvider | Provides Node's Labels by constantly monitoring the configuration.
  NodeAttributesProvider | Abstract class which will be responsible for fetching the node attributes.
  NodeDescriptorsScriptRunner<T> | A node descriptors script runner periodically runs a script, parses the output to collect desired descriptors, and then post these descriptors to the given `NodeDescriptorsProvider`.
  NodeLabelsProvider | Abstract class which will be responsible for fetching the node labels.
  ScriptBasedNodeAttributesProvider | Node attribute provider that periodically runs a script to collect node attributes.
  ScriptBasedNodeLabelsProvider | The class which provides functionality of getting the labels of the node using the configured node labels provider script.

## Package org.apache.hadoop.yarn.server.nodemanager.nodelabels Description

Package to encapsulate classes used to handle node labels and node attributes in NM.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.