-
Notifications
You must be signed in to change notification settings - Fork 35
/
hadoop-pseudo-distributed-env.yml
572 lines (566 loc) · 21.8 KB
/
hadoop-pseudo-distributed-env.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 在CentOS-7的ECS上一键部署Hadoop伪分布式环境,自动配置网络与安全,优化资源配置。
en: Deploy Hadoop pseudo-distributed environment on CentOS-7 ECS with one click, automatically configure network and security, and optimize resource allocation.
Parameters:
VpcName:
Type: String
Label:
en: VPC Name
zh-cn: VPC名称
Description:
en: Name of VPC, [2, 128] English or Chinese characters, must start with a letter
or Chinese in size, can contain numbers, '_' or '.', '-'.
zh-cn: VPC 名称,[2,128]英文或中文字符,必须以字母或中文开头,可以包含数字、下划线或“.”、“-”。
ConstraintDescription:
en: '[2, 128] English or Chinese characters'
zh-cn: '[2, 128] 英文或中文字符'
Default: MyVPC
MinLength: 2
MaxLength: 128
VpcCidrBlock:
Type: String
Label:
en: VPC CIDR Block
zh-cn: 专有网络网段
Description:
en: 'The IP address range of the VPC in the CIDR Block form; <br>you can use
the following IP address ranges and their subnets: <br><font color=''green''>[10.0.0.0/8]</font><br><font
color=''green''>[172.16.0.0/12]</font><br><font color=''green''>[192.168.0.0/16]</font>'
zh-cn: VPC的IP地址范围;<br>您可以使用以下IP地址范围及其子网:<br><font color='green'>[10.0.0.0/8]</font><br><font
color='green'>[172.16.0.0/12]</font><br><font color='green'>[192.168.0/16]</font>
Default: 192.168.0.0/16
AllowedValues:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
VSwitchCidrBlock:
Type: String
Label:
en: VSwitch CIDR Block
zh-cn: 交换机网段
Description:
en: CIDR Block of created VSwitch,It must belong to itself VPC CIDR Block.
zh-cn: 创建的虚拟交换机的子网,它必须属于自己的VPC网段内
Default: 192.168.1.0/24
ZoneId:
Type: String
Label:
en: Zone ID
zh-cn: 可用区
Description:
en: ECS Available Zone ID,</font><a href='https://www.alibabacloud.com/help/doc-detail/123712.html'
target='_blank'><b> View region and zone info</b><font color='blue'></a>
zh-cn: ECS 可用区ID,</font><a href='https://help.aliyun.com/document_detail/123712.html'
target='_blank'><b> 查看可用区信息</b><font color='blue'></a>
AssociationProperty: ALIYUN::ECS::Instance:ZoneId
InstanceName:
Type: String
Label:
en: Instance Name
zh-cn: ECS名称
Description:
en: The name of ECS instance,[2, 128] English or Chinese characters, must start
with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
zh-cn: ECS实例名称,[2,128]英文或中文字符,必须以字母或中文开头,可以包含数字、下划线或“.”、“-”。
Default: ecsinstance
InstanceType:
Type: String
Label:
en: Instance Type
zh-cn: ECS规格
Description:
en: The ECS instance type,go to the product console to ensure the current instance
is available, <font><a href='https://www.alibabacloud.com/help/doc-detail/25378.html'
target='_blank'><b>View instance types</b></font color='blue'></a>
zh-cn: ECS实例类型,进入产品控制台确保当前实例可用, <font><a href='https://help.aliyun.com/document_detail/25378.html'
target='_blank'><b>查看实例类型</b></font color='blue'></a>
AssociationProperty: ALIYUN::ECS::Instance::InstanceType
AssociationPropertyMetadata:
ZoneId: ZoneId
Default: ecs.c5.large
SystemDiskCategory:
Type: String
Label:
en: Instance System Disk Category
zh-cn: ECS系统盘类型
AssociationProperty: ALIYUN::ECS::Disk::SystemDiskCategory
AssociationPropertyMetadata:
InstanceType: InstanceType
ZoneId: ZoneId
ImageId:
Type: String
Label:
en: Image ID
zh-cn: ECS镜像
Description:
en: Image ID, represents the image resource to startup one ECS instance, <font><a
href='https://www.alibabacloud.com/help/doc-detail/112977.html' target='_blank'><b>View
image resources</b></font color='blue'></a>
zh-cn: 镜像ID,ECS实例的镜像资源, <font><a href='https://help.aliyun.com/document_detail/112977.html'
target='_blank'><b>查看镜像资源</b></font color='blue'></a>
AssociationProperty: ALIYUN::ECS::Image::ImageId
AssociationPropertyMetadata:
InstanceType: ${InstanceType}
SupportedImageOwnerAlias:
- system
- self
- others
Default: centos_7_04_64_20G_alibase_201701015.vhd
InstancePassword:
Type: String
Label:
en: Instance Password
zh-cn: ECS密码
Description:
en: The 8-30 long login password of instance, consists of the uppercase, lowercase
letter and number. <br> special characters include()`~!@#$%^&*_-+=|{}[]:;'<>,.?/
zh-cn: 长度8-30,必须包含大写字母、小写字母、数字、特殊符号三个;<br>特殊字符包括:()`~!@#$%^&*_-+=|{}[]:;'<>,.?/
ConstraintDescription:
en: 'Length 8-30, must contain upper case letters, lower case letters, Numbers,
special symbols three; special characters include: ()`~!@#$%^&*_-+=|{}[]:;''<>,.?/'
zh-cn: 长度8-30,必须包含大写字母、小写字母、数字、特殊符号三种;特殊字符包括:()`~!@#$%^&*_-+=|{}[]:;' <>,.?/
AllowedPattern: '[0-9A-Za-z\_\-&:;''<>,=%`~!@#\(\)\$\^\*\+\|\{\}\[\]\.\?\/]+$'
MinLength: 8
MaxLength: 30
NoEcho: true
MasterName:
Type: String
Label:
en: Master Name
zh-cn: Master节点名称
Description:
en: Master hostname, [2, 128] English or Chinese characters, must start with
a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
zh-cn: 主机名,[2,128]英文或中文字符,必须以字母或中文开头,可以包含数字、下划线或“.”、“-”。
Default: master.hadoop
HadoopHome:
Type: String
Label:
en: Hadoop Path
zh-cn: Hadoop目录
Description:
en: HADOOP_HOME directory should be new.
zh-cn: HADOOP 主目录必须是新的。
Default: /usr/local/hadoop/hadoop-2.7.7
HadoopUrl:
Type: String
Label:
en: Hadoop Link
zh-cn: Hadoop下载地址
Description:
en: The official download path of .tar.gz
zh-cn: .tar.gz的官方下载路径
Default: https://ros-template-resources.oss-cn-beijing.aliyuncs.com/Hadoop/hadoop-2.7.7.tar.gz
Resources:
Vpc:
Type: ALIYUN::ECS::VPC
Properties:
CidrBlock:
Ref: VpcCidrBlock
VpcName:
Ref: VpcName
Metadata:
ALIYUN::ROS::Designer:
id: 3c93268f-fb7e-40d0-941e-40080bcef186
SecurityGroup:
Type: ALIYUN::ECS::SecurityGroup
Properties:
VpcId:
Ref: Vpc
SecurityGroupEgress:
- DestCidrIp: 0.0.0.0/0
IpProtocol: all
NicType: internet
PortRange: -1/-1
Priority: 1
SecurityGroupIngress:
- IpProtocol: all
NicType: internet
PortRange: -1/-1
Priority: 1
SourceCidrIp: 0.0.0.0/0
Metadata:
ALIYUN::ROS::Designer:
id: 3eb956dc-6620-4725-9abb-6aaa5d3ac93b
VSwitch:
Type: ALIYUN::ECS::VSwitch
Properties:
ZoneId:
Ref: ZoneId
VpcId:
Fn::GetAtt:
- Vpc
- VpcId
CidrBlock:
Ref: VSwitchCidrBlock
Metadata:
ALIYUN::ROS::Designer:
id: c210d465-1220-4036-929e-10da7165fd8c
Master:
Type: ALIYUN::ECS::Instance
Properties:
VpcId:
Fn::GetAtt:
- Vpc
- VpcId
VSwitchId:
Ref: VSwitch
SecurityGroupId:
Ref: SecurityGroup
ImageId:
Ref: ImageId
InstanceName:
Ref: InstanceName
InstanceType:
Ref: InstanceType
IoOptimized: optimized
Password:
Ref: InstancePassword
SystemDiskCategory:
Ref: SystemDiskCategory
UserData:
Fn::Replace:
- ros-notify:
Fn::GetAtt:
- MasterConditionHandle
- CurlCli
- Fn::Join:
- ''
- - "#!/bin/bash \n"
- '
'
- HADOOP_HOME=
- Ref: HadoopHome
- '
'
- '
'
- HadoopUrl=
- Ref: HadoopUrl
- '
'
- MasterName=
- Ref: MasterName
- '
'
- "hostnamectl --static set-hostname \"$MasterName\" \n"
- "export HOME=/root \n"
- "export HOSTNAME=`hostname` \n"
- "ip_addr=`ifconfig eth0 | awk '/inet /{print $2}'` \n"
- "echo \"$ip_addr $MasterName\" >> /etc/hosts \n"
- " \n"
- "cd /root \n"
- "rm -rf .ssh \n"
- "ssh-keygen -t rsa -P '' -f '/root/.ssh/id_rsa' \n"
- "cd /root/.ssh \n"
- "cp id_rsa.pub authorized_keys \n"
- "chmod 600 authorized_keys \n"
- "chmod 600 id_rsa \n"
- "sed -i 's/# StrictHostKeyChecking ask/StrictHostKeyChecking no/'\
\ /etc/ssh/ssh_config \n"
- "sed -i 's/GSSAPIAuthentication yes/GSSAPIAuthentication no/' /etc/ssh/ssh_config\
\ \n"
- "service sshd restart \n"
- " \n"
- "cd /root \n"
- "yum -y install aria2 \n"
- "yum -y install java \n"
- " \n"
- "cd /root \n"
- "aria2c $HadoopUrl \n"
- "mkdir -p $HADOOP_HOME \ntar zxvf hadoop-*.tar.gz -C $HADOOP_HOME \n\
cd $HADOOP_HOME \nmv hadoop-*.*/* ./ \nrmdir hadoop-*.* \n"
- "echo >> /etc/profile \n"
- "echo export HADOOP_HOME=$HADOOP_HOME >> /etc/profile \n"
- "echo export HADOOP_MAPRED_HOME=$HADOOP_HOME >> /etc/profile \n"
- "echo export HADOOP_COMMON_HOME=$HADOOP_HOME >> /etc/profile \n"
- "echo export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native >>\
\ /etc/profile \n"
- "echo export YARN_HOME=$HADOOP_HOME >> /etc/profile \n"
- "echo export HADOOP_HDFS_HOME=$HADOOP_HOME >> /etc/profile \n"
- "echo export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop >> /etc/profile\
\ \n"
- "echo export HADOOP_OPTS=-Djava.library.path=$HADOOP_HOME/lib:$HADOOP_HOME/lib/native\
\ >> /etc/profile \n"
- "echo export PATH=$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$PATH >> /etc/profile\
\ \n"
- "echo export CLASSPATH=.:$CLASSPATH:$HADOOP__HOME/lib >> /etc/profile\
\ \n"
- "source /etc/profile \n"
- " \n"
- "mkdir -p $HADOOP_HOME/tmp \n"
- "mkdir -p $HADOOP_HOME/dfs/name \n"
- "mkdir -p $HADOOP_HOME/dfs/data \n"
- "echo >> /etc/profile \n"
- "JAVA_HOME=`find /usr/lib/jvm -name 'java-1.8.0-openjdk-1.8.0*'` \n"
- "echo export JAVA_HOME=$JAVA_HOME/jre >> /etc/profile \n"
- "echo export JRE_HOME=$JAVA_HOME/jre >> /etc/profile \n"
- " \n"
- "cd $HADOOP_HOME/etc/hadoop \n"
- "cp hadoop-env.sh bak.hadoop-env.sh \n"
- "sed -i '/export JAVA_HOME=/{s/^/# /}' hadoop-env.sh \n"
- "sed -i \"/# export JAVA_HOME=/a export JAVA_HOME=$JAVA_HOME\" hadoop-env.sh\
\ \n"
- " \n"
- "cd $HADOOP_HOME/etc/hadoop \n"
- "cp core-site.xml bak.core-site.xml \n"
- "echo '<configuration>' > core-site.xml \n"
- "echo ' <property>' >> core-site.xml \n"
- "echo ' <name>hadoop.tmp.dir</name>' >> core-site.xml \n"
- "echo \" <value>$HADOOP_HOME/tmp</value>\" >> core-site.xml \n"
- "echo ' </property>' >> core-site.xml \n"
- "echo '' >> core-site.xml \n"
- "echo ' <property>' >> core-site.xml \n"
- "echo ' <name>fs.default.name</name>' >> core-site.xml \n"
- "echo \" <value>hdfs://$ip_addr:9000</value>\" >> core-site.xml \n"
- "echo ' </property>' >> core-site.xml \n"
- "echo '</configuration>' >> core-site.xml \n"
- " \n"
- "cd $HADOOP_HOME/etc/hadoop \n"
- "cp hdfs-site.xml bak.hdfs-site.xml \n"
- "echo '<configuration>' > hdfs-site.xml \n"
- "echo ' <property>' >> hdfs-site.xml \n"
- "echo ' <name>dfs.namenode.name.dir</name>' >> hdfs-site.xml \n"
- "echo \" <value>file://$HADOOP_HOME/dfs/name</value>\" >> hdfs-site.xml\
\ \n"
- "echo ' </property>' >> hdfs-site.xml \n"
- "echo '' >> hdfs-site.xml \n"
- "echo ' <property>' >> hdfs-site.xml \n"
- "echo ' <name>dfs.datanode.data.dir</name>' >> hdfs-site.xml \n"
- "echo \" <value>file://$HADOOP_HOME/dfs/data</value>\" >> hdfs-site.xml\
\ \n"
- "echo ' </property>' >> hdfs-site.xml \n"
- "echo '' >> hdfs-site.xml \n"
- "echo ' <property>' >> hdfs-site.xml \n"
- "echo ' <name>dfs.replication</name>' >> hdfs-site.xml \n"
- "echo ' <value>1</value>' >> hdfs-site.xml \n"
- "echo ' </property>' >> hdfs-site.xml \n"
- "echo '' >> hdfs-site.xml \n"
- "echo ' <property>' >> hdfs-site.xml \n"
- "echo ' <name>dfs.nameservices</name>' >> hdfs-site.xml \n"
- "echo ' <value>hadoop-cluster1</value>' >> hdfs-site.xml \n"
- "echo ' </property>' >> hdfs-site.xml \n"
- "echo '' >> hdfs-site.xml \n"
- "echo ' <property>' >> hdfs-site.xml \n"
- "echo ' <name>dfs.namenode.secondary.http-address</name>' >> hdfs-site.xml\
\ \n"
- "echo \" <value>$ip_addr:50090</value>\" >> hdfs-site.xml \n"
- "echo ' </property>' >> hdfs-site.xml \n"
- "echo '' >> hdfs-site.xml \n"
- "echo ' <property>' >> hdfs-site.xml \n"
- "echo ' <name>dfs.webhdfs.enabled</name>' >> hdfs-site.xml \n"
- "echo ' <value>true</value>' >> hdfs-site.xml \n"
- "echo ' </property>' >> hdfs-site.xml \n"
- "echo '</configuration>' >> hdfs-site.xml \n"
- " \n"
- "cd $HADOOP_HOME/etc/hadoop \n"
- "cp mapred-site.xml.template mapred-site.xml \n"
- "echo '<configuration>' > mapred-site.xml \n"
- "echo ' <property>' >> mapred-site.xml \n"
- "echo ' <name>mapreduce.framework.name</name>' >> mapred-site.xml\
\ \n"
- "echo ' <value>yarn</value>' >> mapred-site.xml \n"
- "echo ' <final>true</final>' >> mapred-site.xml \n"
- "echo ' </property>' >> mapred-site.xml \n"
- "echo '' >> mapred-site.xml \n"
- "echo ' <property>' >> mapred-site.xml \n"
- "echo ' <name>mapreduce.jobtracker.http.address</name>' >> mapred-site.xml\
\ \n"
- "echo \" <value>$ip_addr:50030</value>\" >> mapred-site.xml \n"
- "echo ' </property>' >> mapred-site.xml \n"
- "echo '' >> mapred-site.xml \n"
- "echo ' <property>' >> mapred-site.xml \n"
- "echo ' <name>mapreduce.jobhistory.address</name>' >> mapred-site.xml\
\ \n"
- "echo \" <value>$ip_addr:10020</value>\" >> mapred-site.xml \n"
- "echo ' </property>' >> mapred-site.xml \n"
- "echo '' >> mapred-site.xml \n"
- "echo ' <property>' >> mapred-site.xml \n"
- "echo ' <name>mapreduce.jobhistory.webapp.address</name>' >> mapred-site.xml\
\ \n"
- "echo \" <value>$ip_addr:19888</value>\" >> mapred-site.xml \n"
- "echo ' </property>' >> mapred-site.xml \n"
- "echo '' >> mapred-site.xml \n"
- "echo ' <property>' >> mapred-site.xml \n"
- "echo ' <name>mapred.job.tracker</name>' >> mapred-site.xml \n"
- "echo \" <value>http://$ip_addr:9001</value>\" >> mapred-site.xml\
\ \n"
- "echo ' </property>' >> mapred-site.xml \n"
- "echo '</configuration>' >> mapred-site.xml \n"
- " \n"
- "cd $HADOOP_HOME/etc/hadoop \n"
- "cp yarn-site.xml bak.yarn-site.xml \n"
- "echo '<configuration>' > yarn-site.xml \n"
- "echo ' <property>' >> yarn-site.xml \n"
- "echo ' <name>yarn.resourcemanager.hostname</name>' >> yarn-site.xml\
\ \n"
- "echo \" <value>$ip_addr</value>\" >> yarn-site.xml \n"
- "echo ' </property>' >> yarn-site.xml \n"
- "echo ' <property>' >> yarn-site.xml \n"
- "echo ' <name>yarn.nodemanager.aux-services</name>' >> yarn-site.xml\
\ \n"
- "echo ' <value>mapreduce_shuffle</value>' >> yarn-site.xml \n"
- "echo ' </property>' >> yarn-site.xml \n"
- "echo ' <property>' >> yarn-site.xml \n"
- "echo ' <name>yarn.resourcemanager.address</name>' >> yarn-site.xml\
\ \n"
- "echo \" <value>$ip_addr:8032</value>\" >> yarn-site.xml \n"
- "echo ' </property>' >> yarn-site.xml \n"
- "echo ' <property>' >> yarn-site.xml \n"
- "echo ' <name>yarn.resourcemanager.scheduler.address</name>' >> yarn-site.xml\
\ \n"
- "echo \" <value>$ip_addr:8030</value>\" >> yarn-site.xml \n"
- "echo ' </property>' >> yarn-site.xml \n"
- "echo ' <property>' >> yarn-site.xml \n"
- "echo ' <name>yarn.resourcemanager.resource-tracker.address</name>'\
\ >> yarn-site.xml \n"
- "echo \" <value>$ip_addr:8031</value>\" >> yarn-site.xml \n"
- "echo ' </property>' >> yarn-site.xml \n"
- "echo ' <property>' >> yarn-site.xml \n"
- "echo ' <name>yarn.resourcemanager.admin.address</name>' >> yarn-site.xml\
\ \n"
- "echo \" <value>$ip_addr:8033</value>\" >> yarn-site.xml \n"
- "echo ' </property>' >> yarn-site.xml \n"
- "echo ' <property>' >> yarn-site.xml \n"
- "echo ' <name>yarn.resourcemanager.webapp.address</name>' >> yarn-site.xml\
\ \n"
- "echo \" <value>$ip_addr:8088</value>\" >> yarn-site.xml \n"
- "echo ' </property>' >> yarn-site.xml \n"
- "echo '</configuration>' >> yarn-site.xml \n"
- " \n"
- "sed -i 304s/'$JAVA'/'java'/ /usr/local/hadoop/hadoop-2.7.7/bin/hdfs\
\ \n"
- "cd /usr/local/hadoop/hadoop-2.7.1/etc/hadoop \n"
- "echo \"$ip_addr\" > slaves \n"
- " \n"
- "cd /root \n"
- "hadoop namenode -format \n"
- "systemctl stop firewalld \n"
- "start-dfs.sh \n"
- "start-yarn.sh \n"
- 'ros-notify -d ''{"data" : "Install Hadoop."}''
'
Metadata:
ALIYUN::ROS::Designer:
id: f6d1b93c-5927-44c8-81fe-73d1b0ba380b
MasterConditionHandle:
Type: ALIYUN::ROS::WaitConditionHandle
Properties: {}
Metadata:
ALIYUN::ROS::Designer:
id: 518073c5-5d7c-4bbf-a2b7-3b29b1129e8d
MasterGroupWaitCondition:
Type: ALIYUN::ROS::WaitCondition
Properties:
Count: 1
Handle:
Ref: MasterConditionHandle
Timeout: 7200
DependsOn: Master
Metadata:
ALIYUN::ROS::Designer:
id: ac210157-bdf9-4cea-b1f3-a4f526dc9490
Outputs:
WebsiteURL:
Description: URL for newly created Hadoop environment.
Value:
Fn::Join:
- ''
- - http://
- Fn::GetAtt:
- Master
- PublicIp
- :50070
Metadata:
ALIYUN::ROS::Interface:
ParameterGroups:
- Parameters:
- VpcName
- VpcCidrBlock
- VSwitchCidrBlock
Label:
default: VPC
- Parameters:
- ZoneId
- InstanceName
- InstanceType
- SystemDiskCategory
- ImageId
- InstancePassword
Label:
default: ECS
- Parameters:
- MasterName
- HadoopHome
- HadoopUrl
Label:
default: Hadoop
TemplateTags:
- acs:example:大数据:部署Hadoop伪分布式开发环境
ALIYUN::ROS::Designer:
3c93268f-fb7e-40d0-941e-40080bcef186:
embeds:
- 3eb956dc-6620-4725-9abb-6aaa5d3ac93b
- c210d465-1220-4036-929e-10da7165fd8c
position:
x: 501
y: 66
size:
height: 299
width: 314
z: 0
3eb956dc-6620-4725-9abb-6aaa5d3ac93b:
position:
x: 720
y: 266
size:
height: 60
width: 60
z: 1
518073c5-5d7c-4bbf-a2b7-3b29b1129e8d:
position:
x: 359
y: 82
size:
height: 60
width: 60
z: 0
ac210157-bdf9-4cea-b1f3-a4f526dc9490:
position:
x: 359
y: 278
size:
height: 60
width: 60
z: 0
bacb10dc-3c2e-42dc-beb2-760cd3e5a8f2:
source:
id: ac210157-bdf9-4cea-b1f3-a4f526dc9490
target:
id: 518073c5-5d7c-4bbf-a2b7-3b29b1129e8d
z: 1
c210d465-1220-4036-929e-10da7165fd8c:
embeds:
- f6d1b93c-5927-44c8-81fe-73d1b0ba380b
position:
x: 521
y: 106
size:
height: 151
width: 122
z: 1
cd09bec0-c3a9-4588-9ed2-f4ab210d7528:
source:
id: f6d1b93c-5927-44c8-81fe-73d1b0ba380b
target:
id: 3eb956dc-6620-4725-9abb-6aaa5d3ac93b
z: 1
f6d1b93c-5927-44c8-81fe-73d1b0ba380b:
position:
x: 560
y: 146
size:
height: 60
width: 60
z: 2