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

StartSparkSQLEngine - 啟動Spark SQL引擎

啟動Spark SQL引擎。

接口說明

  • 地域的公網接入地址: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(廣州)、中國香港發起請求時,遇到 409 錯誤,請聯系技術支持。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

當前API暫無授權信息透出。

請求參數

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

集群 ID。

amv-abcd****
ResourceGroupNamestring

資源組名稱。

spark-rg-name
MinExecutorlong

執行 SQL 時拉起的最小 Exectuor 數量,配置為 0 意味著當不需要執行 SQL 時不會常駐 Exectuor。取值范圍為 0 到 2000,當配置數量超過資源組承載總量時會導致服務啟動失敗。此處配置值必須小于 MaxExecutor 的配置值。

1
MaxExecutorlong

執行 SQL 時啟動的最大的 Exector 數量。取值范圍為 1 到 2000,當配置數量超過資源組承載總量時會導致服務啟動失敗。

10
Jarsstring

啟動 SQL 引擎時需要引入的第三方 JAR 包列表,以逗號分隔的 JAR 包所在的 OSS 地址。

oss://testBuckname/test.jar,oss://testBuckname/test2.jar
SlotNumlong

最大槽位數,即最多可以維持多少個 Spark Session 來執行 SQL。取值范圍為 1 到 500。

100
Configstring

啟動 Spark SQL Engine 的具體配置,以一個 JSON 來描述 KEY-VALUE 型配置信息。詳情請參見Spark Conf 配置

{ "spark.shuffle.timeout": ":0s" }

返回參數

名稱類型描述示例值
object

Schema of Response

RequestIdstring

請求 ID。

D65A809F-34CE-4550-9BC1-0ED21ETG380
Dataobject

返回結果。

AppIdstring

Spark 作業 ID。

s202301xxxx
Statestring

Spark SQL Engine 狀態:

  • SUBMITTED:提交啟動請求。
  • STARTING:啟動中。
  • RUNNING:運行中,可以執行 SQL。
  • FAILED:引擎出錯退出。
SUBMITTED
AppNamestring

Spark App 名稱。

SQLEngine1

示例

正常返回示例

JSON格式

{
  "RequestId": "D65A809F-34CE-4550-9BC1-0ED21ETG380",
  "Data": {
    "AppId": "s202301xxxx",
    "State": "SUBMITTED",
    "AppName": "SQLEngine1"
  }
}

錯誤碼

HTTP status code錯誤碼錯誤信息描述
400Spark.InvalidParameterInvalid parameter value: %s輸入參數不正確。
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類型不合法,請參考使用文檔指定適合業務的AppType,請關注配置類型:%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.主驅動文件地址必須是合法的OSS地址,當前的地址是 %s。
400Spark.Config.invalidConnectorsThe spark.adb.connectors configuration is invalid: %sspark.adb.connectors配置不正確。
400Spark.Config.InvalidDiskConfigThe requested disk mount parameter is invalid: %s磁盤掛載配置錯誤。
400Spark.Config.InvalidHostAliasConfigThe requested host alias parameter %s is invalid. Example: 127.0.0.1 localhost local域名映射配置錯誤。
400Spark.Config.InvalidLogOssPathThe OSS address for log storage is illegal: %s存儲日志的OSS地址非法。
400Spark.Config.InvalidRoleArnFormatConfigure RoleARN %s invalid format. It should match acs:ram::uid_number:role/role_name配置的RoleARN格式錯誤。
400Spark.Config.InvalidTimeZoneUnable to parse time zone configuration %s : %s時區配置錯誤。
400Spark.Config.MainAppFileNotExistsThe main driver file is missing, [file] or [sqls] must be configured.主驅動文件缺失,必須保證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路徑不存在或當前用戶無權限訪問。
400Spark.Config.RoleArnVerifyFailedRoleARN parameter verification failed. Error msg: %s when verify RoleArn %sRoleARN參數校驗失敗。
400Spark.Config.SecurityGroupNotFoundThe security group in the configuration does not exist or cannot be accessed. %s.配置的資源組不存在或者因權限不足無法訪問。%s。
400Spark.Config.VswitchNotFoundThe vswitch in the configuration does not exist or cannot be accessed. %s.無法找到配置虛擬機交換機,或當前賬號權限不足。%s。
400Spark.InvalidStateThe object of the operation is in an invalid state: %s操作對象處于非合法狀態。
400Spark.Log.InvalidStateFailed to obtain the logs of the Spark job %s in the %s state.無法獲取指定Spark作業的日志。
403Spark.ForbiddenNo permissions to access the resources: %s權限不足,拒絕訪問相關資源。您當前申請訪問的信息是:%s。
404Spark.App.ContentNotFoundThe requested content %s of the Spark application is not found.找不到指定Spark作業的提交內容。
404Spark.App.NotFoundThe Spark application %s is not found.未能找到輸入的 Spark App。
404Spark.ObjectNotFoundThe object is not found. More information: %s操作對象不存在。關聯信息:%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管控組件系統遇到錯誤,請提交工單,或聯系值班工程師。

訪問錯誤中心查看更多錯誤碼。

變更歷史

變更時間變更內容概要操作
2023-07-27OpenAPI 錯誤碼發生變更查看變更詳情
2023-06-28OpenAPI 錯誤碼發生變更查看變更詳情