刪除Spark模板文件。
接口說明
- 地域的公網(wǎng)接入地址:
adb.<region-id>.aliyuncs.com
。示例:adb.cn-hangzhou.aliyuncs.com
。 - 地域的 VPC 接入地址:
adb-vpc.<region-id>.aliyuncs.com
。示例:adb-vpc.cn-hangzhou.aliyuncs.com
。
說明
如果華北 1(青島)、華南 1(深圳)、華南 3(廣州)、中國香港發(fā)起請求時(shí),遇到 409 錯(cuò)誤,請聯(lián)系技術(shù)支持。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
授權(quán)信息
當(dāng)前API暫無授權(quán)信息透出。
請求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
Id | long | 是 | 待刪除模板文件的目錄 ID 或應(yīng)用 ID。 說明
| 725204 |
DBClusterId | string | 是 | 企業(yè)版、基礎(chǔ)版或湖倉版集群 ID。 | amv-bp11q28kvl688**** |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
"Data": {
"Succeeded": true
}
}
錯(cuò)誤碼
HTTP status code | 錯(cuò)誤碼 | 錯(cuò)誤信息 | 描述 |
---|---|---|---|
400 | Spark.AnalyzeTask.AppStateNotAccepted | Only Spark applications in the terminated state can be analyzed. The specified application %s does not meet the requirement. | 只允許分析處于終止?fàn)顟B(tài)的 Spark app。指定 app 不滿足條件。 |
400 | Spark.AnalyzeTask.FailedToKill | Failed to terminate the Spark log analysis task %s, because the task status has changed. Obtain the latest status and try again. | 殺死Spark日志分析任務(wù)的請求執(zhí)行失敗,因?yàn)閷?yīng)任務(wù)狀態(tài)已經(jīng)發(fā)生了變化。請獲取分析任務(wù)最新狀態(tài)后執(zhí)行。 |
400 | Spark.AnalyzeTask.InvalidStateWhenAnalyzingApp | Only logs of Spark applications in the terminated state can be analyzed. The specified application %s does not meet the requirement. | 僅允許針對處于終止?fàn)顟B(tài)的Spark作業(yè)執(zhí)行日志分析程序。當(dāng)前作業(yè)不滿足條件。 |
400 | Spark.App.InvalidResourceSpec | The requested resource type is not supported:\n %s | - |
400 | Spark.App.KillOperationFailed | Failed to kill the application %s, please retry in a few seconds. | 殺死 Spark 應(yīng)用失敗,請稍后重試。 |
400 | Spark.App.ParameterConflict | Conflicting parameters submitted:\n %s | - |
400 | Spark.Config.invalidConnectors | The spark.adb.connectors configuration is invalid: %s | spark.adb.connectors配置不正確。 |
400 | Spark.Config.RoleArnVerifyFailed | RoleARN parameter verification failed. Error msg: %s when verify RoleArn %s | RoleARN參數(shù)校驗(yàn)失敗。 |
400 | Spark.InvalidParameter | Invalid parameter value: %s | 輸入?yún)?shù)不正確。 |
400 | Spark.InvalidState | The object of the operation is in an invalid state: %s | 操作對象處于非合法狀態(tài)。 |
400 | Spark.Log.IllegalPath | Invalid job log URI: %s. | 配置的Spark日志路徑不合法:%s。 |
400 | Spark.Log.InvalidState | Failed to obtain the logs of the Spark job %s in the %s state. | 無法獲取指定Spark作業(yè)的日志。 |
400 | Spark.Oss.InternalError | An OSS internal error occurred: %s | OSS內(nèi)部錯(cuò)誤,請求失敗。 |
400 | Spark.RoleArn.Invalid | %s is not found, or the RAM role has not been authorized. | RoleArn不存在或子賬號未授權(quán)。 |
400 | Spark.SQL.NotFoundExecutableSQLError | No executable statements are submitted. Please check the input SQL. | Spark作業(yè)的SQL信息中不包含可執(zhí)行語句。 |
400 | Spark.SQL.ParserError | Failed to parse the SQL %s. Error message: %s. | Spark作業(yè)信息中的SQL無法解析。 |
400 | Spark.TemplateFile.BadFileType | The requested template %s is not a file. | 請求的模板文件ID不是文件類型的。 |
403 | Spark.Forbidden | No permissions to access the resources: %s | 權(quán)限不足,拒絕訪問相關(guān)資源。您當(dāng)前申請?jiān)L問的信息是:%s。 |
404 | Spark.AnalyzeTask.NotFound | The requested analysis task %s is not found. | 請求查看的日志分析任務(wù) %s 不存在。 |
404 | Spark.App.ContentNotFound | The requested content %s of the Spark application is not found. | 找不到指定Spark作業(yè)的提交內(nèi)容。 |
404 | Spark.Log.PodLogNotFound | Can't find logs of the pod by podName[%s] in the namespace[%s]. | 無法通過podName找到對應(yīng)pod的日志。 |
404 | Spark.ObjectNotFound | The object is not found. More information: %s | 操作對象不存在。關(guān)聯(lián)信息:%s。 |
404 | Spark.TemplateFile.FileNotFound | The template file %s is not found. | 未能找到輸入的模板文件。 |
404 | Spark.TemplateFile.TemplateNotFound | The template %s is not found. | 模板文件未找到。 |
406 | Spark.App.KillNotAcceptable | Can't kill the application %s in %s state. | 不能刪除處于不可刪除狀態(tài)下的 Spark 應(yīng)用。 |
500 | Spark.Resources.LoadFileFromClasspathFailed | Can't load the content from file: %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 | Spark管控組件系統(tǒng)遇到錯(cuò)誤,請?zhí)峤还危蚵?lián)系值班工程師。 |
訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。
變更歷史
變更時(shí)間 | 變更內(nèi)容概要 | 操作 |
---|---|---|
2023-06-28 | OpenAPI 錯(cuò)誤碼發(fā)生變更 | 查看變更詳情 |