Mengkueri konfigurasi submodul di ruang kerja. Anda dapat mengkueri informasi tentang parameter SPARK.
Deskripsi operasi
本接口当前处于试用阶段。需要体验的用户可以提出申请,管理员加入试用名单后即可调用。
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
integer |
Yes |
ID kluster yang dibuat oleh DataWorks. |
1234 |
| ProjectId |
integer |
Yes |
ID ruang kerja DataWorks. |
5678 |
| ConfigType |
string |
Yes |
Tipe konfigurasi kluster. Nilai valid:
|
SPARK_CONF |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| ClusterConfigs |
array |
A list of configurations of cluster modules. |
|
| ClusterConfig |
The configuration information of a cluster on a module. |
||
| RequestId |
string |
The request ID. You can locate logs and troubleshoot issues based on the ID. |
0000-ABCD-E**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
101011005 |
| ErrorMessage |
string |
The error message. |
Invalid.Cluster.ClusterNotFound |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
Contoh
Respons sukses
JSONformat
{
"ClusterConfigs": [
{
"ModuleName": "ide",
"ConfigValue": "{\"spark.driver.memory\":\"1g\"}",
"EnableOverwrite": false
}
],
"RequestId": "0000-ABCD-*****",
"Success": true,
"ErrorCode": "101011005",
"ErrorMessage": "Invalid.Cluster.ClusterNotFound",
"HttpStatusCode": 200
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.