Querying Summary of a Specified Service

Function

This API is used to query summary of a specified service in a cluster.

URI

GET /web/v1/cluster/{cluster_id}/services/{service_name}

Parameter

Mandatory or Not

Description

cluster_id

Yes

Cluster ID that is displayed on MRS Manager. The default cluster ID is 1, because MRS Manager supports management of only one cluster currently.

service_name

Yes

Name of the service to be queried.

For example, the service name is HBase, HDFS, or Spark.

Request

Response

Status Code

Status Code

Description

200

The operation is successful.

For details about error status codes, see Status Codes.