全部產品
Search
文件中心

MaxCompute:ListJobInfos - 查看作業列表

更新時間:Nov 25, 2025

查看作業列表

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

odps:ListJobInfos

list

*全部資源

*

請求文法

POST /api/v1/jobs HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

tenantId

string

租戶 id

478403690625249

region

string

地區 id。

cn-shanghai

orderColumn

string

排序列

cuUsage

ascOrder

boolean

升序 or 降序

true

pageNumber

integer

分頁頁碼。

1

pageSize

integer

每頁返回數目

10

body

object

請求體參數

from

integer

起始時間戳記

1672112000

to

integer

截止時間戳記

1672112130

quotaNickname

string

配額(Quota)暱稱

quota_nickname

projectList

array

專案名稱

string

專案名稱

projectA

typeList

array

作業類型

string

作業類型

SQL

jobOwnerList

array

作業 owner

string

作業 owner

ALIYUN$7632***@aliyun.com

signatureList

array

作業簽名

string

作業簽名

signatureabc

extNodeIdList

array

上遊節點 ID

string

上遊節點 ID

76358164

instanceIdList

array

工作執行個體(Instance)Id

string

工作執行個體(Instance)Id

20241028****jkl

statusList

array

作業狀態

string

作業狀態

running

priorityList

array

作業優先順序

integer

作業優先順序

0

sortByList

array

多列排序欄位

string

多列排序欄位

cuUsage

sortOrderList

array

多列排序方式

string

多列排序方式

desc

sceneTagList

array

智能診斷標籤

string

智能診斷標籤

SubscriptionLackResource

extNodeNameList

array

string

taskNameList

array

string

返回參數

名稱

類型

描述

樣本值

object

PopResult

requestId

string

請求 id。

0bc13a9516807484336515320e38f5

httpCode

integer

業務成功與否。如果非空且不是 200,那麼表示業務處理失敗。

200

data

object

返回結果。

totalCount

integer

返回結果的總數量。

64

pageNumber

integer

當前頁碼。

2

pageSize

integer

每頁顯示條數。

10

jobInfoList

array<object>

作業資訊列表

array<object>

作業資訊

tenantId

string

租戶 ID

213065738244354

region

string

地區 id。

cn-shanghai

cluster

string

叢集 id

AY20A

instanceId

string

執行個體 ID。

20230410050036549gfmsdwf60gg

jobOwner

string

提交作業的帳號

ALIYUN$xxx@test.aliyunid.com

project

string

maxcompute 專案名稱

openrec_new

jobType

string

作業類型

SQL

priority

integer

優先順序

1

status

string

狀態

running

quotaNickname

string

作業使用的配額暱稱

my_quota

quotaType

string

quota 類型

subscription

cuUsage

integer

cu 使用總量

10

memoryUsage

integer

記憶體使用量總量

40

cuSnapshot

number

作業的 cu 快照佔比

0.48

memorySnapshot

number

作業的記憶體快照佔比

0.42

statusSnapshot

string

作業快照狀態

running

submittedAtTime

integer

作業的提交時間

1672112013

waitingTime

integer

等待時間

100

runningAtTime

integer

作業的開始已耗用時間

1672112113

runningTime

integer

已耗用時間

800

endAtTime

integer

運行結束時間

0

totalTime

integer

總運行時間長度

900

signature

string

sql 簽名

i094KijGrN3kOXZ74kbexB77XQY=

extPlantFrom

string

上遊平台

platform_3

extNodeId

string

DataWorks 節點 ID

node_4

extNodeOnDuty

string

執行責任人

duty_2

tags

string

標籤

[]

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"

inputBytes

number

作業掃描量。單位 byte。

1234

extPlatformId

string

extNodeName

string

taskName

string

樣本

正常返回樣本

JSON格式

{
  "requestId": "0bc13a9516807484336515320e38f5",
  "httpCode": 200,
  "data": {
    "totalCount": 64,
    "pageNumber": 2,
    "pageSize": 10,
    "jobInfoList": [
      {
        "tenantId": "213065738244354",
        "region": "cn-shanghai",
        "cluster": "AY20A",
        "instanceId": "20230410050036549gfmsdwf60gg",
        "jobOwner": "ALIYUN$xxx@test.aliyunid.com",
        "project": "openrec_new",
        "jobType": "SQL",
        "priority": 1,
        "status": "running",
        "quotaNickname": "my_quota",
        "quotaType": "subscription",
        "cuUsage": 10,
        "memoryUsage": 40,
        "cuSnapshot": 0.48,
        "memorySnapshot": 0.42,
        "statusSnapshot": "running",
        "submittedAtTime": 1672112013,
        "waitingTime": 100,
        "runningAtTime": 1672112113,
        "runningTime": 800,
        "endAtTime": 0,
        "totalTime": 900,
        "signature": "i094KijGrN3kOXZ74kbexB77XQY=",
        "extPlantFrom": "platform_3",
        "extNodeId": "node_4",
        "extNodeOnDuty": "duty_2",
        "tags": "[]",
        "sceneResults": [
          {
            "sceneTag": "SubscriptionLackResource",
            "scene": "LackResource",
            "type": "warning",
            "summary": "Insufficient 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\""
            }
          }
        ],
        "inputBytes": 1234,
        "extPlatformId": "",
        "extNodeName": "",
        "taskName": ""
      }
    ]
  }
}

錯誤碼

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

變更歷史

更多資訊,參考變更詳情