查看作业实例详情。
调用 GetJobInstance,查看作业实例详情。
已拥有火山引擎账号并开通 EMR 权限。
请求方式:POST
请求地址:https://open.volcengineapi.com/?Version=2024-06-13&Action=GetJobInstance
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
字段 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
JobInstanceId | String | 是 | "spark-xxxxxx" | 作业实例 ID |
JobType | String | 是 | "SparkSQL" | 作业类型 |
ResourceType | String | 是 | "EMR on VKE" | 资源类型 |
ResourceId | String | 是 | "emr-xxxxxx" | 资源 ID |
{ "JobInstanceId": "spark-xxxxxx", "JobType": "SparkSQL", "ResourceType": "EMR on VKE", "ResourceId": "emr-xxx" }
{ "Result": { "JobInstanceId": "application-xxxxxx", "JobInstanceName": "data_preprocess", "JobDefinitionId": "jobdef-xxx", "JobDefinitionName": "data_preprocess_def", "JobType": "Spark JAR", "ExecutionEngine": "Spark", "JobInstanceState": "RUNNING", "ResourceType": "EMR on VKE", "ResourceId": "emr-xxxxxx", "ResourceName": "onvke-cluster1", "AllocatedCpuVirtualCoreNum": 100, "AllocatedMemoryGiB": 100, "Submitter": "user", "SubmitTimeMs": 1717201800000, "EndTimeMs": 1717201860000, "DurationTimeMs": 60000, "WebUI": { "Name": "Spark UI", "Address": "http://xxx", "Accessible": true }, "Killable": true, "AccountId": 00000000 } }
您可访问公共错误码,获取更多错误码信息。