Terminates a Spark log analysis task and queries the information about the analysis task.
Operation description
- General endpoint:
adb.aliyuncs.com
. - Regional public endpoint:
adb.<region-id>.aliyuncs.com
. Example:adb.cn-hangzhou.aliyuncs.com
. - Regional Virtual Private Cloud (VPC) endpoint:
adb-vpc.<region-id>.aliyuncs.com
. Example:adb-vpc.cn-hangzhou.aliyuncs.com
.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TaskId | long | Yes | The ID of the Spark log analysis task. You can call the ListSparkLogAnalyzeTasks operation to query the IDs and states of all analysis tasks in the current cluster. | 15 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1DF5AF5B-C803-1861-A0FF-63666A557709",
"Data": {
"TaskId": 10,
"UserId": 0,
"SubmittedTimeInMillis": 1672123543000,
"TerminatedTimeInMillis": 1672123543000,
"TaskState": "WAITING",
"Result": {
"AppErrorCode": "EXCEEDED_QUOTA",
"AppErrorLog": "exception: cpu is exceeded limits 12/10",
"AppErrorAdvice": "Please increase cpu quota for your resource group"
},
"StartedTimeInMillis": 1672123543000,
"RuleMatched": true,
"TaskErrMsg": "Driver log not found",
"DBClusterId": "amv-adbxxxxx"
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | Spark.InvalidParameter | Invalid parameter value: %s | The specified parameter is invalid. |
400 | Spark.InvalidState | The object of the operation is in an invalid state: %s | The operation object is invalid. |
403 | Spark.Forbidden | No permissions to access the resources: %s | Insufficient permissions to access the related resources. Information that you want to access: %s. |
500 | Spark.ServerError | The Spark control component system encountered an error, please create a ticket to solve the problem or concat the supported engineer on duty. Error message: %s | An error occurred on the Spark control component system. Submit a ticket or contact technical support. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-07-27 | The Error code has changed | View Change Details |