查询任务执行堆栈。
接口说明
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ClusterId | string | 否 | 集群 ID。 | xxljob-b6ec1xxxx |
AppName | string | 否 | 应用名称。 | xxl-job-executor-sample |
JobExecutionId | string | 否 | 任务执行 ID。 | 1310630367761285120 |
ExecutorAddr | string | 否 | 执行器地址。 | http://192.168.0.215:9966/ |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "3835AA29-2298-5434-BC53-9CC377CDFD2C",
"Code": 200,
"Message": "Parameter error: appId is null.",
"Success": true,
"Data": {
"Dump": "\\\"Thread-7\\\" Id=67 TIMED_WAITING\\n\\tat java.base@17.0.5/java.lang.Thread.sleep(Native Method)\\n\\tat app//com.xxl.job.executor.service.jobhandler.SampleXxlJob.shardingJobHandler(SampleXxlJob.java:73)\\n\\tat java.base@17.0.5/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\\n\\tat java.base@17.0.5/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\\n\\tat java.base@17.0.5/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\\n\\tat java.base@17.0.5/java.lang.reflect.Method.invoke(Method.java:568)\\n\\tat app//com.xxl.job.core.handler.impl.MethodJobHandler.execute(MethodJobHandler.java:29)\\n\\tat app//com.xxl.job.core.thread.JobThread.run(JobThread.java:152)\\n"
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvalidParameter | Parameter error: %s. | 参数错误: %s |
401 | IllegalRequest | IllegalRequest: %s. | 非法请求:%s |
403 | NoPermission | No permission to perform this operation: %s. | 没有权限去执行该操作:%s |
404 | NotFound | Not found: %s. | 资源不存在:%s |
500 | InternalError | InternalError: %s. | 系统内部错误:%s |
访问错误中心查看更多错误码。