Domain name for API request: emr.intl.tencentcloudapi.com.
This API is used to obtain a Spark application list.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeSparkApplications. |
| Version | Yes | String | Common Params. The value used for this API: 2019-01-03. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | Cluster ID. |
| StartTime | Yes | Integer | Querying start time. |
| EndTime | Yes | Integer | Querying end time. |
| PageSize | Yes | Integer | Number of entries per page. |
| Page | Yes | Integer | Which page. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | The number of returns. |
| ResultList | Array of SparkApplicationsList | Spark application list. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: emr.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeInsightList
<Common request parameters>
{
"InstanceId": "emr-j14o941k",
"PageSize": 10,
"StartTime": 1745944098,
"EndTime": 1746030498,
"Page": 1
}{
"Response": {
"RequestId": "RequestId-1746503327",
"ResultList": [
{
"ID": "spark-49cdc7a5b06a46fca99c497a5b47e7f1",
"Name": "kyuubi_CONNECTION_SPARK_SQL_hadoop_7043f4f2-c8b6-4681-8e7a-873e477c6db7",
"User": "hadoop",
"StartTime": 1746003194374,
"EndTime": 1746003394835,
"Duration": 200461,
"State": "completed",
"ApplicationType": "SPARK",
"CoreSeconds": 478,
"MemorySeconds": "489472 MB Seconds",
"Insight": "UNKNOWN"
}
],
"TotalCount": 1
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| ResourceNotFound.ClusterNotFound | The instance was not found. |
| UnauthorizedOperation.AppIdMismatched | The appId is inconsistent. |
Feedback