Tüm Ürünler
Search
Belge Merkezi

:GetRunningJobs

Son Güncelleme:Sep 30, 2026

Belirtilen bir zaman aralığında çalışır durumdaki işlerin çalışma durumu verilerini alır.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

odps:GetRunningJobs

list

*All Resource

*

None None

Request syntax

GET /api/v1/jobs/runningJobs HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

from

integer

Yes

Sorgunun başladığı zaman. Bu parametre, bir işin gönderildiği zamanı belirtir.

  • from ve to istek parametreleri tarafından belirtilen zaman aralığı kapalı bir aralıktır. Başlangıç ve bitiş zamanları aralığa dahildir. from değeri to değeriyle aynıysa zaman aralığı geçersizdir ve null değeri döndürülür.

  • Değer, 1 Ocak 1970 00:00:00 UTC'den bu yana geçen saniye sayısını temsil eden bir UNIX zaman damgasıdır.

1683785928

to

integer

Yes

Sorgunun bittiği zaman. Bu parametre, bir işin gönderildiği zamanı belirtir.

  • from ve to istek parametreleri tarafından belirtilen zaman aralığı kapalı bir aralıktır. Başlangıç ve bitiş zamanları aralığa dahildir. from değeri to değeriyle aynıysa aralık geçersizdir ve null değeri döndürülür.

  • Değer, 1 Ocak 1970 00:00:00 UTC'den bu yana geçen saniye sayısını temsil eden bir UNIX zaman damgasıdır.

1683612946

jobOwnerList

array

No

İş yürütücülerinin listesi.

string

No

İş yürütücülerinin listesi.

ALIYUN$xxx@test.aliyunid.com

quotaNicknameList

array

No

İşler tarafından kullanılan kotaların takma adlarının listesi.

string

No

İşler tarafından kullanılan kotaların takma adlarının listesi.

my_quota

pageNumber

integer

No

Sayfa numarası.

1

pageSize

integer

No

Sayfa başına giriş sayısı. Varsayılan değer: 10. Maksimum değer: 20.

10

Response elements

Element

Type

Description

Example

object

PopResult.

requestId

string

İsteğin kimliği.

0bc3b4ab16684833172127321e2c25

httpCode

integer

İsteğin başarılı olup olmadığını gösterir. Bu parametre boş değilse ve bu parametrenin değeri 200 değilse istek başarısız olmuştur.

200

errorCode

string

  • success değeri false ise bir hata kodu döndürülür.

  • success değeri true ise null değeri döndürülür.

success

errorMsg

string

Hata mesajı.

0A3B1FD2006A24C8D8BE65CDAC028298

data

object

Döndürülen veriler.

runningJobInfoList

array<object>

Çalışır durumdaki işlerin listesi.

object

instanceId

string

Örnek kimliği.

2023050206371544gomgtp3ljcr4

jobOwner

string

İşi gönderen hesap.

ALIYUN$xxx@test.aliyunid.com

project

string

MaxCompute projesinin adı.

project_20221021123044_981b

quotaNickname

string

İş tarafından kullanılan kotanın takma adı.

my_quota

cuSnapshot

number

İşin işlem birimi (CU) anlık görüntü oranı.

0.45

memorySnapshot

number

İşin bellek anlık görüntü oranı.

0.45

submittedAtTime

integer

İşin gönderildiği zaman.

1689746864

runningAtTime

integer

İşin çalışmaya başladığı zaman.

1689746864

progress

number

İşin ilerleme durumu.

0

totalCount

integer

Döndürülen toplam giriş sayısı.

64

pageNumber

integer

Sayfa numarası.

2

pageSize

integer

Sayfa başına giriş sayısı.

10

Examples

Success response

JSON format

{
  "requestId": "0bc3b4ab16684833172127321e2c25",
  "httpCode": 200,
  "errorCode": "success",
  "errorMsg": "0A3B1FD2006A24C8D8BE65CDAC028298",
  "data": {
    "runningJobInfoList": [
      {
        "instanceId": "2023050206371544gomgtp3ljcr4",
        "jobOwner": "ALIYUN$xxx@test.aliyunid.com",
        "project": "project_20221021123044_981b",
        "quotaNickname": "my_quota",
        "cuSnapshot": 0.45,
        "memorySnapshot": 0.45,
        "submittedAtTime": 1689746864,
        "runningAtTime": 1689746864,
        "progress": 0
      }
    ],
    "totalCount": 64,
    "pageNumber": 2,
    "pageSize": 10
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.