Skip to content

Cluster2Props

Properties for defining a Cluster2.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-cluster2

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkemr"
&alicloudroscdkemr.Cluster2Props {
    Applications: interface{},
    ClusterName: interface{},
    ClusterType: interface{},
    NodeAttributes: interface{},
    NodeGroups: interface{},
    ReleaseVersion: interface{},
    ApplicationConfigs: interface{},
    BootstrapScripts: interface{},
    DeployMode: interface{},
    PaymentType: interface{},
    ResourceGroupId: interface{},
    SecurityMode: interface{},
    SubscriptionConfig: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkemr.RosCluster2.TagsProperty,
}

Properties

Name Type Description
Applications interface{} Property applications: Application List.The value range of the number n of the number N group: 1 ~ 100.
ClusterName interface{} Property clusterName: Cluster name.The length is 1 ~ 128 characters, and the alphabet or Chinese must be started. It cannot start with http:\/\/ and https: \/\/.It can include Chinese, English, numbers, half-horn colons (:), down line (_), half-angle period (.) Or short lines (-).
ClusterType interface{} Property clusterType: Cluster type.Ranges: DATALAKE: The new version of the data lake. OLAP: Data analysis. DATAFLOW: Real -time data stream. DATASERVING: Data service. HADOOP: The old version of the data lake (not recommended, it is recommended to use the new version of the data lake).
NodeAttributes interface{} Property nodeAttributes: Node attributes.All ECS nodes basic attributes of the cluster.
NodeGroups interface{} Property nodeGroups: The node group configuration array.The value range of the number n of the number N group: 1 ~ 100.
ReleaseVersion interface{} Property releaseVersion: EMR release version.View EMR distribution versions can be viewed through the EMR cluster.
ApplicationConfigs interface{} Property applicationConfigs: Application configuration.The value range of the number n of the array element n: 1 ~ 1000.
BootstrapScripts interface{} Property bootstrapScripts: Guide the script group.The value range of the number n of the number N group: 1 ~ 10.
DeployMode interface{} Property deployMode: Application deployment mode in the cluster.Ranges: Normal: non -high available deployment.Cluster 1 master node. HA: High availability deployment.High availability deployment requires at least 3 master nodes.
PaymentType interface{} Property paymentType: Payment type.
ResourceGroupId interface{} Property resourceGroupId: Resource group ID.
SecurityMode interface{} Property securityMode: Cluster Kerberos security mode.Ranges: Normal: General mode, does not open the Kerberos mode. Kerberos: Open the Kerberos mode.
SubscriptionConfig interface{} Property subscriptionConfig: Pre -paid allocation.When the value of PaymentType is Subscripting, it must be filled.
Tags *[]TagsProperty Property tags: Tags to attach to cluster.

ApplicationsRequired

Applications interface{}
  • Type: interface{}

Property applications: Application List.The value range of the number n of the number N group: 1 ~ 100.


ClusterNameRequired

ClusterName interface{}
  • Type: interface{}

Property clusterName: Cluster name.The length is 1 ~ 128 characters, and the alphabet or Chinese must be started. It cannot start with http:\/\/ and https: \/\/.It can include Chinese, English, numbers, half-horn colons (:), down line (_), half-angle period (.) Or short lines (-).


ClusterTypeRequired

ClusterType interface{}
  • Type: interface{}

Property clusterType: Cluster type.Ranges: DATALAKE: The new version of the data lake. OLAP: Data analysis. DATAFLOW: Real -time data stream. DATASERVING: Data service. HADOOP: The old version of the data lake (not recommended, it is recommended to use the new version of the data lake).


NodeAttributesRequired

NodeAttributes interface{}
  • Type: interface{}

Property nodeAttributes: Node attributes.All ECS nodes basic attributes of the cluster.


NodeGroupsRequired

NodeGroups interface{}
  • Type: interface{}

Property nodeGroups: The node group configuration array.The value range of the number n of the number N group: 1 ~ 100.


ReleaseVersionRequired

ReleaseVersion interface{}
  • Type: interface{}

Property releaseVersion: EMR release version.View EMR distribution versions can be viewed through the EMR cluster.


ApplicationConfigsOptional

ApplicationConfigs interface{}
  • Type: interface{}

Property applicationConfigs: Application configuration.The value range of the number n of the array element n: 1 ~ 1000.


BootstrapScriptsOptional

BootstrapScripts interface{}
  • Type: interface{}

Property bootstrapScripts: Guide the script group.The value range of the number n of the number N group: 1 ~ 10.


DeployModeOptional

DeployMode interface{}
  • Type: interface{}

Property deployMode: Application deployment mode in the cluster.Ranges: Normal: non -high available deployment.Cluster 1 master node. HA: High availability deployment.High availability deployment requires at least 3 master nodes.


PaymentTypeOptional

PaymentType interface{}
  • Type: interface{}

Property paymentType: Payment type.

Ranges: PayAsYouGo: Post-paid, pay-as-you-go. Subscription: Prepaid, yearly and monthly. Default: PayAsYouGo.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: Resource group ID.


SecurityModeOptional

SecurityMode interface{}
  • Type: interface{}

Property securityMode: Cluster Kerberos security mode.Ranges: Normal: General mode, does not open the Kerberos mode. Kerberos: Open the Kerberos mode.


SubscriptionConfigOptional

SubscriptionConfig interface{}
  • Type: interface{}

Property subscriptionConfig: Pre -paid allocation.When the value of PaymentType is Subscripting, it must be filled.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags to attach to cluster.

Max support 20 tags to add during create cluster. Each tag with two properties Key and Value, and Key is required.