文档

GetSparkConfigLogPath - 获取Spark日志配置路径

更新时间:

查询AnalyticDB MySQL Spark中的日志配置结果,包括默认的Spark日志写入地址。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
DBClusterIdstring

AnalyticDB MySQL 湖仓版(3.0)集群的集群 ID。

amv-bp19lm077co*****

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

1919-xxx-ssdfsdff
Dataobject

返回内容。

IsLogPathExistsboolean

是否存在日志地址。

true
RecordedLogPathstring

记录的地址名称。

oss://test/spark-logs/
ModifiedUidstring

修改人的账号 ID。

10130223128xxx
ModifiedTimestampstring

上一次修改时间。

1675654361000
DefaultLogPathstring

推荐的默认地址。

oss://aliyun-oa-adb-spark-****-oss-cn-hanghzou/spark-logs

示例

正常返回示例

JSON格式

{
  "RequestId": "1919-xxx-ssdfsdff",
  "Data": {
    "IsLogPathExists": true,
    "RecordedLogPath": "oss://test/spark-logs/",
    "ModifiedUid": "10130223128xxx",
    "ModifiedTimestamp": "1675654361000",
    "DefaultLogPath": "oss://aliyun-oa-adb-spark-****-oss-cn-hanghzou/spark-logs"
  }
}

错误码

HTTP status code错误码错误信息描述
400Spark.InvalidParameterInvalid parameter value: %s输入参数不正确。
400Spark.InvalidStateThe object of the operation is in an invalid state: %s操作对象处于非合法状态。
400Spark.Config.InvalidAppFilePathThe main driver file MUST be a valid OSS path. Current is %s.主驱动文件地址必须是合法的OSS地址。
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.配置的资源组不存在或者因权限不足无法访问。
400Spark.Config.VswitchNotFoundThe vswitch in the configuration does not exist or cannot be accessed. %s.无法找到配置虚拟机交换机,或当前账号权限不足。
403Spark.ForbiddenNo permissions to access the resources: %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 错误码发生变更看变更集
变更项变更内容
错误码OpenAPI 错误码发生变更
    错误码 400 变更
    删除错误码:500
    新增错误码:403
  • 本页导读 (1)
文档反馈