Memperoleh ringkasan informasi operasional dasar tentang beberapa pekerjaan sekaligus di E-MapReduce (EMR) Doctor.
Deskripsi operasi
daftarkan statistik groupBy pekerjaan berdasarkan yarn
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
emr:ListDoctorJobsStats |
list |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| ClusterId |
string |
Yes |
ID klaster. |
c-b933c5aac8fe**** |
| NextToken |
string |
No |
Token paginasi yang digunakan dalam permintaan untuk mengambil halaman hasil baru. |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
No |
Jumlah maksimum entri yang dikembalikan di setiap halaman. |
20 |
| StartRange |
object |
No |
Rentang waktu mulai. Anda dapat memfilter pekerjaan yang waktu mulainya berada dalam rentang waktu yang ditentukan. |
|
| StartTime |
integer |
No |
Awal rentang waktu saat pekerjaan dikirimkan. Nilai ini adalah stempel waktu UNIX yang menyatakan jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. Satuan: milidetik. |
1679036826987 |
| EndTime |
integer |
No |
Akhir rentang waktu saat pekerjaan dikirimkan. Nilai ini adalah stempel waktu UNIX yang menyatakan jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. Satuan: milidetik. |
1666406820000 |
| EndRange |
object |
No |
Rentang waktu akhir. Anda dapat memfilter pekerjaan yang waktu akhirnya berada dalam rentang waktu yang ditentukan. |
|
| StartTime |
integer |
No |
Awal rentang waktu saat pekerjaan berakhir. Nilai ini adalah stempel waktu UNIX yang menyatakan jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. |
1675180800000 |
| EndTime |
integer |
No |
Akhir rentang waktu saat pekerjaan berakhir. Nilai ini adalah stempel waktu UNIX yang menyatakan jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. |
1680019200000 |
| GroupBy |
array |
No |
Field yang digunakan untuk mengelompokkan data. Saat ini, hanya nilai pertama yang digunakan untuk mengelompokkan data. Kombinasi beberapa nilai akan didukung di masa mendatang. |
null |
|
string |
No |
Field yang digunakan untuk mengelompokkan data. Nilai yang valid:
|
type |
|
| OrderType |
string |
No |
Urutan yang Anda inginkan untuk menyortir hasil kueri. Nilai yang valid:
|
ASC |
| OrderBy |
string |
No |
Field yang Anda gunakan untuk menyortir hasil kueri. Nilai yang valid:
|
vcoreSeconds |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| Data |
array<object> |
Ringkasan informasi pekerjaan. |
|
|
array<object> |
|||
| Queue |
string |
Antrean YARN tempat pekerjaan dikirimkan. |
DW |
| Type |
string |
Jenis mesin komputasi. |
SPARK |
| User |
string |
Nama pengguna yang digunakan untuk mengirimkan pekerjaan. |
DW |
| VcoreSeconds |
object |
Jumlah agregat vCPU yang dialokasikan ke pekerjaan dikalikan dengan jumlah detik pekerjaan telah berjalan. |
|
| Name |
string |
The name of the metric. |
vcoreSeconds |
| Value |
integer |
The value of the metric. |
11123 |
| Unit |
string |
The unit of the metric. |
VCores * Sec |
| Description |
string |
The description of the metric. |
Total vcore usage over time in seconds |
| MemSeconds |
object |
Jumlah agregat memori yang dialokasikan ke pekerjaan dikalikan dengan jumlah detik pekerjaan telah berjalan. |
|
| Name |
string |
The name of the metric. |
memSeconds |
| Value |
integer |
The value of the metric. |
12312312 |
| Unit |
string |
The unit of the metric. |
MB * Sec |
| Description |
string |
The description of the metric. |
Total memory usage over time in seconds |
| AppsCount |
object |
Jumlah total pekerjaan. |
|
| Name |
string |
The name of the metric. |
appsCount |
| Value |
integer |
The value of the metric. |
123 |
| Unit |
string |
The unit of the metric. |
"" |
| Description |
string |
The description of the metric. |
Total apps count |
| RequestId |
string |
ID permintaan. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| NextToken |
string |
Token paginasi. |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
Jumlah maksimum entri yang dikembalikan. |
20 |
| TotalCount |
integer |
Jumlah total entri yang dikembalikan. |
200 |
Contoh
Respons sukses
JSONformat
{
"Data": [
{
"Queue": "DW",
"Type": "SPARK",
"User": "DW",
"VcoreSeconds": {
"Name": "vcoreSeconds",
"Value": 11123,
"Unit": "VCores * Sec",
"Description": "Total vcore usage over time in seconds"
},
"MemSeconds": {
"Name": "memSeconds",
"Value": 12312312,
"Unit": "MB * Sec",
"Description": "Total memory usage over time in seconds"
},
"AppsCount": {
"Name": "appsCount",
"Value": 123,
"Unit": "\"\"",
"Description": "Total apps count"
}
}
],
"RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****",
"NextToken": "DD6B1B2A-5837-5237-ABE4-FF0C89568980",
"MaxResults": 20,
"TotalCount": 200
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ConflictParameters | Parameters that must not be used together. %s | |
| 400 | IncompleteSignature | The request signature is invalid. | |
| 400 | InvalidAction | The action %s requested is invalid. | |
| 400 | InvalidParameter | The specified parameter %s is not valid. | |
| 400 | InvalidParameterValue | The input parameter %s is invalid or out of range. | |
| 400 | MissingAction | The action %s requested is missing. | |
| 400 | MissingParameter | The input parameter %s that is mandatory for processing this request is not supplied. | |
| 400 | NotAuthorized | You do not have permission to perform this action. %s | |
| 400 | ThrottlingException | The request was denied due to request throttling. %s | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 404 | ResourceNotFound | The resource not found by %s. | |
| 503 | ServiceFailure | The request has failed due to a temporary failure of %s service. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.