ジョブの基本情報を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
odps:GetJobInfo |
get |
*Job
|
なし | なし |
リクエスト構文
GET /api/v1/jobs/{instanceId}/info HTTP/1.1
パスパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| instanceId |
string |
必須 |
ジョブ ID。 |
20230410****60gg |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
リクエストパラメーターは必要ありません。
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| requestId |
string |
リクエスト ID。 |
0be3e0bb16654558425251398e27a9 |
| httpCode |
integer |
HTTP ステータスコード。
|
200 |
| errorCode |
string |
エラーコード。 |
OBJECT_NOT_EXIST |
| errorMsg |
string |
エラーメッセージ。 |
This object does not exist. |
| data |
object |
返された結果。 |
|
| tenantId |
string |
テナント ID。 |
4784****5249 |
| region |
string |
リージョン ID。 |
cn-shanghai |
| instanceId |
string |
ジョブ ID。 |
20230410****60gg |
| jobOwner |
string |
ジョブのオーナー。 |
ALIYUN$7632***@aliyun.com |
| project |
string |
プロジェクト名。 |
dp_cdm_prod |
| jobType |
string |
ジョブのタイプ。 |
SQL |
| priority |
integer |
ジョブの優先度。 |
1 |
| status |
string |
ジョブステータス。 |
running |
| quotaNickname |
string |
ジョブが使用するコンピューティングクォータのニックネーム。 |
os_bigdata |
| quotaType |
string |
クォータタイプ。 |
subscription |
| cuUsage |
integer |
ジョブによって消費されたリソースの量。このパラメーターは、完了したジョブに対してのみ返されます。単位:100*Core*s。 |
10 |
| memoryUsage |
integer |
ジョブによって消費されたメモリの量。このパラメーターは、完了したジョブに対してのみ返されます。単位:MB*s。 |
40 |
| submittedAtTime |
integer |
ジョブが送信された時刻。 |
1672112013 |
| waitingTime |
integer |
待機時間。ジョブが送信されてから実行を開始するまでの期間です。 |
100 |
| runningAtTime |
integer |
開始時刻。ジョブが最初のコンピューティングリソースのバッチを受信した時刻です。DDL 文を含むジョブなど、短時間で実行されるジョブやコンピューティングリソースを消費しないジョブの場合、代わりにジョブの送信時刻が使用されます。 |
1672112113 |
| runningTime |
integer |
実行時間。ジョブの開始時刻から終了時刻までの期間です。 |
800 |
| endAtTime |
integer |
ジョブの終了時刻。 |
1672112913 |
| totalTime |
integer |
ジョブが送信されてから終了するまでの合計時間。 |
900 |
| signature |
string |
SQL ジョブの署名。この署名を使用して、SQL 文が実行されるたびにそのインスタンスを見つけることができます。 |
20c1efb4a7caca1865f4aa784bb500efae74af04 |
| extPlantFrom |
string |
アップストリームプラットフォーム。 |
platform_3 |
| extNodeId |
string |
先祖ノードの ID。 |
node_4 |
| extNodeOnDuty |
string |
タスクオーナーの Alibaba Cloud アカウント ID。 |
duty_2 |
| inputBytes |
number |
ジョブによってスキャンされたデータ量。 |
1234 |
| sceneResults |
array<object> |
インテリジェント診断結果。 |
|
|
array<object> |
インテリジェント診断結果。 |
||
| sceneTag |
string |
インテリジェント診断結果のタグ。 |
SubscriptionLackResource |
| scene |
string |
インテリジェント診断結果のシナリオ。 |
LackResource |
| type |
string |
インテリジェント診断結果のタイプ。 |
warning |
| summary |
string |
インテリジェント診断結果の概要。 |
Insufficient computing resources available for the job. Click to view details. |
| description |
string |
インテリジェント診断結果の説明。 |
This job uses annual and monthly computing resources. It may be that the job is waiting for resources due to the large amount of overall job running data, many resources requested, and low job priority. Please go to Resource Consumption to view the specific situation. You can also go to Cost Optimization to see if you need to adjust resource configuration. |
| params |
object |
データスキューまたはデータ拡張が検出されたノードに関する情報。このパラメーターは、診断シナリオがデータスキューまたはデータ拡張の場合にのみ返されます。 |
|
|
string |
データスキューまたはデータ拡張が検出されたノードに関する情報。 |
"jobinsight_data_skew_node": "Worker M1#10000_0" |
|
| jobSubStatusList |
array<object> |
ジョブライフサイクルのサブステータス。 |
|
|
object |
ジョブのサブステータス。 |
||
| code |
integer |
サブステータスのエンコーディング。 |
1010 |
| startTime |
string |
サブステータスの開始時刻。 |
2025-03-05 00:04:15.717364 +0800 |
| description |
string |
サブステータスの説明。 |
Waiting for scheduling |
例
成功レスポンス
JSONJSON
{
"requestId": "0be3e0bb16654558425251398e27a9",
"httpCode": 200,
"errorCode": "OBJECT_NOT_EXIST",
"errorMsg": "This object does not exist.",
"data": {
"tenantId": "4784****5249",
"region": "cn-shanghai",
"instanceId": "20230410****60gg",
"jobOwner": "ALIYUN$7632***@aliyun.com\n",
"project": "dp_cdm_prod",
"jobType": "SQL\n",
"priority": 1,
"status": "running",
"quotaNickname": "os_bigdata",
"quotaType": "subscription",
"cuUsage": 10,
"memoryUsage": 40,
"submittedAtTime": 1672112013,
"waitingTime": 100,
"runningAtTime": 1672112113,
"runningTime": 800,
"endAtTime": 1672112913,
"totalTime": 900,
"signature": "20c1efb4a7caca1865f4aa784bb500efae74af04",
"extPlantFrom": "platform_3",
"extNodeId": "node_4",
"extNodeOnDuty": "duty_2",
"inputBytes": 1234,
"sceneResults": [
{
"sceneTag": "SubscriptionLackResource",
"scene": "LackResource",
"type": "warning",
"summary": "\t\nInsufficient computing resources available for the job. Click to view details.",
"description": "This job uses annual and monthly computing resources. It may be that the job is waiting for resources due to the large amount of overall job running data, many resources requested, and low job priority. Please go to Resource Consumption to view the specific situation. You can also go to Cost Optimization to see if you need to adjust resource configuration.",
"params": {
"key": "\"jobinsight_data_skew_node\": \"Worker M1#10000_0\"\n"
}
}
],
"jobSubStatusList": [
{
"code": 1010,
"startTime": "2025-03-05 00:04:15.717364 +0800",
"description": "Waiting for scheduling"
}
]
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。