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

Mount Point: /api/v6/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 roles. It refreshes the NameNode's node list.

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

Parameters

name description type default
serviceName (no documentation provided) path
clusterName (no documentation provided) path

Request Body

element: roleNames

The names of the roles.

Response Body

element: bulkCommandList

A list of submitted commands.