日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

SubmitSparkApp - 提交Spark應(yīng)用

提交Spark應(yīng)用。

接口說明

  • 地域的公網(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ā)起請(qǐng)求時(shí),遇到 409 錯(cuò)誤,請(qǐng)聯(lián)系技術(shù)支持。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。

授權(quán)信息

當(dāng)前API暫無授權(quán)信息透出。

請(qǐng)求參數(shù)

名稱類型必填描述示例值
AppNamestring

應(yīng)用名稱,可自定義字符串,長度不能超過 64 個(gè)字符。

TestApp
AppTypestring

應(yīng)用類型,取值說明:

  • SQL:SQL 應(yīng)用。
  • STREAMING:流應(yīng)用。
  • BATCH(默認(rèn)值):離線應(yīng)用。
SQL
Datastring

應(yīng)用模板數(shù)據(jù)。

說明 應(yīng)用模板配置,請(qǐng)參見《Spark 應(yīng)用配置指南》。
conf spark.driver.resourceSpec=small; conf spark.executor.instances=1; conf spark.executor.resourceSpec=small; conf spark.app.name=TestApp;
AgentSourcestring

客戶端類型。可自定義字符串,長度不能超過 64 個(gè)字符。

CONSOLE
AgentVersionstring

應(yīng)用程序使用的版本??勺远x字符串,長度不能超過 64 個(gè)字符。

1.091
DBClusterIdstring

企業(yè)版、基礎(chǔ)版或湖倉版集群 ID。

說明 您可以調(diào)用 DescribeDBClusters 接口可以查詢集群 ID。
amv-bp11q28kvl688****
ResourceGroupNamestring

Job 型資源組名稱。

說明 您可以調(diào)用 DescribeDBResourceGroup 接口查看集群的資源組 ID。
adb
TemplateFileIdlong

應(yīng)用模板 ID。

說明 您可以調(diào)用 GetSparkTemplateFullTree 接口可以查詢應(yīng)用模板 ID。
15

返回參數(shù)

名稱類型描述示例值
object

任務(wù)列表。

RequestIdstring

請(qǐng)求 ID。

1AD222E9-E606-4A42-BF6D-8A4442913CEF
Dataobject

數(shù)據(jù)列表。

AppIdstring

應(yīng)用 ID。

s202204132018hzprec1ac61a000****
AppNamestring

應(yīng)用名稱。

TestApp
Messagestring

返回告警信息,如任務(wù)執(zhí)行失敗或資源不足等,無告警時(shí)則返回為空。

Insufficient resources.
Statestring

應(yīng)用執(zhí)行狀態(tài),取值說明:

  • SUBMITTED:已提交。
  • STARTING:開始啟動(dòng)。
  • RUNNING:執(zhí)行中。
  • FAILING:任務(wù)失敗,清理環(huán)境中。
  • FAILED:失敗。
  • KILLING:中止任務(wù),清理環(huán)境中。
  • KILLED:中止任務(wù)。
  • SUCCEEDING:任務(wù)執(zhí)行結(jié)束,清理環(huán)境中。
  • COMPLETED:任務(wù)執(zhí)行結(jié)束。
  • FATAL:意外失敗。
  • UNKNOWN:未知錯(cuò)誤。
SUBMITTED

示例

正常返回示例

JSON格式

{
  "RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
  "Data": {
    "AppId": "s202204132018hzprec1ac61a000****",
    "AppName": "TestApp",
    "Message": "Insufficient resources.",
    "State": "SUBMITTED"
  }
}

錯(cuò)誤碼

HTTP status code錯(cuò)誤碼錯(cuò)誤信息描述
400Spark.App.ExceedQuotaLimitationThe requested resource exceeds the maximum limit: %s-
400Spark.App.InvalidAppTypeWhenSubmitThe specified AppType is INVALID or NULL. Please refer to the documentation to correct the parameters for %s.AppType類型不合法,請(qǐng)參考使用文檔指定適合業(yè)務(wù)的AppType,請(qǐng)關(guān)注配置類型:%s。
400Spark.App.InvalidResourceSpecThe requested resource type is not supported:\n %s-
400Spark.App.ParameterConflictConflicting parameters submitted:\n %s-
400Spark.App.ResourceNegativeErrorThe requested resource MUST be positive: %s-
400Spark.Config.InvalidAppFilePathThe main driver file MUST be a valid OSS path. Current is %s.主驅(qū)動(dòng)文件地址必須是合法的OSS地址,當(dāng)前的地址是 %s。
400Spark.Config.invalidConnectorsThe spark.adb.connectors configuration is invalid: %sspark.adb.connectors配置不正確。
400Spark.Config.InvalidDiskConfigThe requested disk mount parameter is invalid: %s磁盤掛載配置錯(cuò)誤。
400Spark.Config.InvalidHostAliasConfigThe requested host alias parameter %s is invalid. Example: 127.0.0.1 localhost local域名映射配置錯(cuò)誤。
400Spark.Config.InvalidLogOssPathThe OSS address for log storage is illegal: %s存儲(chǔ)日志的OSS地址非法。
400Spark.Config.InvalidRoleArnFormatConfigure RoleARN %s invalid format. It should match acs:ram::uid_number:role/role_name配置的RoleARN格式錯(cuò)誤。
400Spark.Config.InvalidTimeZoneUnable to parse time zone configuration %s : %s時(shí)區(qū)配置錯(cuò)誤。
400Spark.Config.MainAppFileNotExistsThe main driver file is missing, [file] or [sqls] must be configured.主驅(qū)動(dòng)文件缺失,必須保證file或者sqls配置不為空。
400Spark.Config.OSSPathAccessErrorThe configured OSS address %s cannot be accessed.配置的OSS路徑無法訪問。
400Spark.Config.OSSPathNotExistsThe OSS address %s requested does not exist or the permissions are insufficient.OSS路徑不存在或當(dāng)前用戶無權(quán)限訪問。
400Spark.Config.RoleArnVerifyFailedRoleARN parameter verification failed. Error msg: %s when verify RoleArn %sRoleARN參數(shù)校驗(yàn)失敗。
400Spark.Config.SecurityGroupNotFoundThe security group in the configuration does not exist or cannot be accessed. %s.配置的資源組不存在或者因權(quán)限不足無法訪問。%s。
400Spark.Config.VswitchNotFoundThe vswitch in the configuration does not exist or cannot be accessed. %s.無法找到配置虛擬機(jī)交換機(jī),或當(dāng)前賬號(hào)權(quán)限不足。%s。
400Spark.InvalidParameterInvalid parameter value: %s輸入?yún)?shù)不正確。
400Spark.InvalidStateThe object of the operation is in an invalid state: %s操作對(duì)象處于非合法狀態(tài)。
400Spark.RoleArn.Invalid%s is not found, or the RAM role has not been authorized.RoleArn不存在或子賬號(hào)未授權(quán)。
400Spark.SQL.BlankErrorInput sql can not be blank string.提交SQL不能為空。
400Spark.SQL.MultipleSQLErrorElement in field [sqls] can not contain more than one sql statement: %s.提交的Spark SQL包含了多條可執(zhí)行SQL。
400Spark.SQL.NotFoundExecutableSQLErrorNo executable statements are submitted. Please check the input SQL.Spark作業(yè)的SQL信息中不包含可執(zhí)行語句。
400Spark.SQL.NotFoundExecutableSQLErrorThe execution part is not included in the current submitted SQL, please check the input SQL.提交的SQL中不包含可執(zhí)行內(nèi)容。
400Spark.SQL.ParserErrorSubmit spark app failed when parser SQL %s. Error message: %s.解析提交的Spark SQL失敗。
403Spark.ForbiddenNo permissions to access the resources: %s權(quán)限不足,拒絕訪問相關(guān)資源。您當(dāng)前申請(qǐng)?jiān)L問的信息是:%s。
404Spark.App.ContentNotFoundThe requested content %s of the Spark application is not found.找不到指定Spark作業(yè)的提交內(nèi)容。
404Spark.App.NotFoundThe Spark application %s is not found.未能找到輸入的 Spark App。
404Spark.ObjectNotFoundThe object is not found. More information: %s操作對(duì)象不存在。關(guān)聯(lián)信息:%s。
500Spark.ServerErrorThe Spark control component system encountered an error, please create a ticket to solve the problem or concat the supported engineer on duty. Error message: %sSpark管控組件系統(tǒng)遇到錯(cuò)誤,請(qǐng)?zhí)峤还?,或?lián)系值班工程師。

訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。

變更歷史

變更時(shí)間變更內(nèi)容概要操作
2024-06-11OpenAPI 錯(cuò)誤碼發(fā)生變更查看變更詳情
2023-07-27OpenAPI 錯(cuò)誤碼發(fā)生變更查看變更詳情
2023-06-28API 內(nèi)部配置變更,不影響調(diào)用查看變更詳情