調用RerunJobs重新運行一個或多個作業。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ehpc:RerunJobs |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ClusterId |
string |
是 |
叢集 ID。 您可以通過調用 ListClusters 擷取叢集 ID。 |
ehpc-sh-3VeFyR**** |
| Jobs |
string |
是 |
需要重新啟動並執行作業 ID 列表,作業數量取值範圍:1~100。 格式為 您可以調用 ListJobs 查詢作業 ID。 說明
需要重新啟動並執行作業狀態必須為 RUNNING 或 QUEUED。 |
[{"Id":"1.scheduler"}] |
| Async |
boolean |
否 |
採用非同步訊息鏈路重新運行作業。 預設值:false。 |
false |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
04F0F334-1335-436C-A1D7-6C044FE7**** |
樣本
正常返回樣本
JSON格式
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | 指定的參數 %s 無效。 |
| 400 | NotEnabled | You have not enabled this service | 您的賬戶還未開通此服務 |
| 400 | InDebt | Your account has overdue payments. | 您的賬戶已欠費 |
| 500 | UnknownError | An unknown error occurred. | 未知錯誤 |
| 403 | InvalidClusterStatus | The operation failed due to invalid cluster status. | 叢集狀態不允許執行本次操作。 |
| 403 | ConflictOpt | A conflicting operation is running. | 有衝突的操作在執行中,請您稍後再試。 |
| 403 | UsernameExist | The username already exists. | 使用者名稱已存在 |
| 403 | IncorrectCredential | The username or password is incorrect. | 使用者名稱或密碼錯誤 |
| 404 | ClusterNotFound | The specified cluster does not exist. | 指定的叢集不存在,請您檢查該參數是否正確。 |
| 404 | ManagerNotFound | The manager nodes do not exist or their status is abnormal. | 管理節點不存在或狀態異常。 |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | 請求失敗,服務暫時不可用 |
| 406 | AgentError.Job.RerunFailure | Failed to run the job again: %s. | 重運行作業失敗: {} |
| 406 | AliyunError | An Alibaba Cloud product error occurred. | 阿里雲產品錯誤。%s |
| 406 | AgentResponseTimeout | Agent response timeout: %s | 代理響應逾時 |
| 406 | AgentError | The agent service request failed: %s | 操作未成功:%s |
| 407 | NotAuthorized | You are not authorized by RAM for this request. | 此請求未獲得RAM授權 |
| 409 | PartFailure | Part of the batch operation failed. | 大量操作部分失敗 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。