TopTenErrorTimesInstance
Retrieves the error ranking of nodes over the past month.
Operation description
Before you begin: You must activate DataWorks Enterprise Edition or Ultimate Edition before you call this operation. Otherwise, the operation returns a 403 Forbidden.Access error.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. You can log on to the DataWorks console and go to the Workspace Management page to obtain the workspace ID. |
10000001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| RequestId |
string |
The request ID. You can use this ID to troubleshoot issues when errors occur. |
952795279527**** |
| InstanceErrorRank |
object |
The error ranking data of nodes. |
|
| UpdateTime |
integer |
The timestamp when the error ranking was updated. |
1600963200000 |
| ErrorRank |
array<object> |
The error ranking data of nodes over the past month. |
|
|
object |
The response structure. |
||
| Owner |
string |
The Alibaba Cloud UID of the node owner. |
952795279527 |
| NodeName |
string |
The name of the node. |
Node name |
| ProjectId |
integer |
The ID of the DataWorks workspace. |
9527 |
| ProgramType |
integer |
The type of the node task. Common types are as follows: 6 (Shell), 10 (ODPS SQL), 11 (ODPS MR), 23 (Data Integration), 24 (ODPS Script), 99 (Virtual node), 221 (PyODPS 2), 225 (ODPS Spark), 227 (EMR Hive), 228 (EMR Spark), 229 (EMR Spark SQL), 230 (EMR MR), 239 (OSS object check), 257 (EMR Shell), 258 (EMR Spark Shell), 259 (EMR Presto), 260 (EMR Impala), 900 (Real-time synchronization), 1089 (Cross-tenant node), 1091 (Hologres development), 1093 (Hologres SQL), 1100 (Assignment node), and 1221 (PyODPS 3). |
10 |
| NodeId |
integer |
The ID of the node. |
9527 |
| Count |
integer |
The number of errors that occurred on the node. |
5 |
Examples
Success response
JSON format
{
"RequestId": "952795279527****",
"InstanceErrorRank": {
"UpdateTime": 1600963200000,
"ErrorRank": [
{
"Owner": "952795279527",
"NodeName": "Node name",
"ProjectId": 9527,
"ProgramType": 10,
"NodeId": 9527,
"Count": 5
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | |
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 500 | Forbidden.Wkbench.ProjectNoPermission | You are not authorized to access the workspace. | |
| 500 | Invalid.Wkbench.Parameter | The specified parameters are invalid. | |
| 403 | ResourceNotAuthorized.Api | You are not authorized to access the resources. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | |
| 429 | Throttling.Resource | You have reached the limit for the resource. Please contact us by submitting a ticket. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.