Mengambil metadata kloning klaster E-MapReduce (EMR). Anda dapat menggunakan metadata ini untuk membuat klaster dengan cepat dengan memanggil operasi CreateCluster.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
emr:GetClusterCloneMeta |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region. |
cn-hangzhou |
| ClusterId |
string |
Yes |
ID klaster. |
c-b933c5aac8fe**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Data yang dikembalikan. |
||
| ClusterCloneMeta |
object |
Metadata kloning klaster. |
|
| RegionId |
string |
ID region. |
cn-hangzhou |
| ResourceGroupId |
string |
ID grup sumber daya. |
rg-acfmzabjyop**** |
| ClusterState |
string |
Status klaster. Nilai yang valid:
|
RUNNING |
| ClusterId |
string |
ID klaster. |
c-b933c5aac7f7**** |
| ClusterName |
string |
Nama klaster. |
emrtest |
| ClusterType |
string |
Jenis klaster. Nilai yang valid:
|
DATALAKE |
| PaymentType |
string |
Metode penagihan. Nilai yang valid:
|
PayAsYouGo |
| SubscriptionConfig | SubscriptionConfig |
Konfigurasi langganan. |
|
| ReleaseVersion |
string |
Rilis EMR. |
EMR-5.6.0 |
| DeployMode |
string |
Mode penyebaran aplikasi di klaster. Nilai yang valid:
|
HA |
| SecurityMode |
string |
Mode keamanan Kerberos klaster. Nilai yang valid:
|
NORMAL |
| NodeAttributes | NodeAttributes |
Atribut node. |
|
| Tags |
array |
Daftar tag klaster. |
|
| Tag |
Sebuah tag. |
||
| EmrDefaultRole |
string |
Peran server EMR. |
AliyunEMRDefaultRole |
| Applications |
array |
Aplikasi klaster. |
|
| Application |
Sebuah aplikasi. |
||
| ApplicationConfigs |
array |
Item konfigurasi aplikasi yang dimodifikasi. |
|
| ApplicationConfig |
Sebuah item konfigurasi. |
||
| NodeGroups |
array |
Array konfigurasi grup node. Jumlah elemen array N dapat berkisar dari 1 hingga 100. |
|
| NodeGroup |
Sebuah grup node. |
||
| BootstrapScripts |
array |
Array skrip bootstrap. Jumlah elemen array N dapat berkisar dari 1 hingga 10. |
|
| Script |
Sebuah skrip bootstrap. |
||
| ExistCloneConfig |
boolean |
Menunjukkan apakah konfigurasi aplikasi dapat diberikan saat Anda mengkloning klaster HADOOP. Nilai yang valid:
|
True |
| ScalingPolicies |
array<object> |
Kebijakan Auto Scaling untuk setiap grup node di klaster. |
|
|
array<object> |
Sebuah kebijakan Auto Scaling. |
||
| NodeGroupId |
string |
The node group ID. |
ng-869471354ecd**** |
| ClusterId |
string |
The cluster ID. |
c-b933c5aac8fe**** |
| ScalingRules |
array<object> |
The list of scaling rules. |
|
|
object |
A scaling rule. |
||
| RuleName |
string |
The name of the scaling rule. |
scaling-out-memory |
| TriggerType |
string |
The type of the scaling rule. This parameter is required. Valid values:
|
TIME_TRIGGER |
| ActivityType |
string |
The type of the scaling activity. This parameter is required. Valid values:
|
SCALE_OUT |
| AdjustmentValue |
integer |
The adjustment value. This parameter is required. It must be a positive integer. It specifies the number of instances to add or remove. |
100 |
| TimeTrigger | TimeTrigger |
The description of the time-based scaling rule. |
|
| MetricsTrigger | MetricsTrigger |
The description of the metric-based scaling rule. |
|
| ScalingPolicyId |
string |
The scaling policy ID. |
asp-asduwe23znl*** |
| Constraints |
object |
The constraints on the maximum and minimum number of nodes in the node group. |
|
| MaxCapacity |
integer |
The maximum number of nodes in the node group. Default value: 2000. |
200 |
| MinCapacity |
integer |
The minimum number of nodes in the node group. Default value: 0. |
50 |
| MaxOnDemandCapacity |
integer |
The maximum number of pay-as-you-go instances. |
200 |
| ScalingPolicyType |
string |
The type of the elastic policy. |
|
| NodeGroupName |
string |
The node group name. |
emr-etltask |
| DeletionProtection |
boolean |
Menunjukkan apakah perlindungan penghapusan diaktifkan untuk klaster. Nilai yang valid:
Nilai default: false. |
false |
| CollationTimeZone | CollationTimeZone | ||
| RequestId |
string |
ID permintaan. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
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.