/clusters/{clusterName}/services/{serviceName}/roleCommands/refresh
Mount Point: /api/v1/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 |
---|---|---|---|
clusterName | The name of the cluster. | path | |
serviceName | The name of the service. | path |
Request Body
element: | roleNames |
The names of the roles.
Response Body
element: | bulkCommandList |
A list of submitted commands.