/clusters/{clusterName}/services/{serviceName}/roleCommands/refresh

POST

Refresh a role's data.

For MapReduce services, this command should be executed on JobTracker
roles. It refreshes the role's queue and node information.

For HDFS services, this command should be executed on NameNode or
DataNode roles. For NameNodes, it refreshes the role's node list.
For DataNodes, it refreshes the role's data directory list and other
configuration.

For YARN services, this command should be executed on ResourceManager
roles. It refreshes the role's queue and node information.

Available since API v1. DataNode data directories refresh available
since API v10.