-
Notifications
You must be signed in to change notification settings - Fork 35
/
hadoop-distributed-ecs-instance-group.yml
1000 lines (993 loc) · 37.3 KB
/
hadoop-distributed-ecs-instance-group.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
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 一键部署Hadoop集群,包括1台Master和多台Worker节点,自动配置VPC、安全组及ECS资源,适用于CentOS-7,需注意防火墙设置。
en: One-click deployment of Hadoop cluster, comprising 1 Master node and multiple
Worker nodes, with automatic configuration of VPC, security groups, and ECS resources,
tailored for CentOS-7, with a reminder to attend to firewall settings.
Parameters:
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: ECS Zone ID
zh-cn: ECS可用区
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
InstanceType:
Type: String
Label:
en: ECS 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.htm'
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: ECS 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/en/doc-detail/112977.htm' 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
SlaveAmount:
Type: Number
Label:
en: Slave Amount
zh-cn: Slave数量
Description:
en: The minimum of ECS instances, must be less than or equal to the maximum.
zh-cn: ECS实例的最小值必须小于或等于最大值。
ConstraintDescription:
en: An integer within [1, 100]
zh-cn: '[1, 100] 内的整数'
Default: 1
MinValue: 1
MaxValue: 100
InstancePassword:
Type: String
Label:
en: ECS Instance Password
zh-cn: ECS登录密码
Description:
en: The Instance Name,A maximum of 16 characters, consisting of lowercase letters,
Numbers, underscores, letters beginning, letters or Numbers ending.
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: '[a-zA-Z0-9-\(\)\`\~\!@\#\$%\^&\*-+=\|\{\}\[\]\:\;\‘\,\.\?\/]*'
MinLength: '8'
MaxLength: '30'
NoEcho: true
HadoopUrl:
Type: String
Label:
en: Hadoop Url
zh-cn: Hadoop下载地址
Description:
en: The 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:
EipSNat:
Type: ALIYUN::VPC::EIP
Properties:
Bandwidth: 5
InternetChargeType: PayByTraffic
Metadata:
ALIYUN::ROS::Designer:
id: f03ace11-61e3-4496-9267-4501fd61f180
Vpc:
Type: ALIYUN::ECS::VPC
Properties:
CidrBlock:
Ref: VpcCidrBlock
VpcName: VpcName
Metadata:
ALIYUN::ROS::Designer:
id: a5ea28cf-8a22-46f9-abe4-2efd53406501
VSwitch:
Type: ALIYUN::ECS::VSwitch
Properties:
ZoneId:
Ref: ZoneId
VpcId:
Fn::GetAtt:
- Vpc
- VpcId
CidrBlock:
Ref: VSwitchCidrBlock
Metadata:
ALIYUN::ROS::Designer:
id: c5fd85c6-c1c4-4e98-adee-7b022916650a
NatGateway:
Type: ALIYUN::VPC::NatGateway
Properties:
VpcId:
Fn::GetAtt:
- Vpc
- VpcId
VSwitchId:
Ref: VSwitch
Description: My NAT Gateway
NatGatewayName: nat_gateway_1
DependsOn: VSwitch
Metadata:
ALIYUN::ROS::Designer:
id: a0b9d5ac-fb5f-41c9-9af1-0f851f130e89
EIpSnatAssociation:
Type: ALIYUN::VPC::EIPAssociation
Properties:
InstanceId:
Ref: NatGateway
AllocationId:
Ref: EipSNat
DependsOn: NatGateway
Metadata:
ALIYUN::ROS::Designer:
id: 0b1932dc-9a84-430d-af75-752d6c2adf1a
EipForward:
Type: ALIYUN::VPC::EIP
Properties:
Bandwidth: 5
InternetChargeType: PayByTraffic
Metadata:
ALIYUN::ROS::Designer:
id: f132d13c-c40a-42ed-8d6f-d121b9e2ee33
EIpForwardAssociation:
Type: ALIYUN::VPC::EIPAssociation
Properties:
InstanceId:
Ref: NatGateway
AllocationId:
Ref: EipForward
DependsOn: EIpSnatAssociation
Metadata:
ALIYUN::ROS::Designer:
id: 70c47340-6b04-4846-9abf-2ef3670e7747
SNatEntry:
Type: ALIYUN::ECS::SNatEntry
Properties:
SNatIp:
Fn::GetAtt:
- EipSNat
- EipAddress
SNatTableId:
Fn::GetAtt:
- NatGateway
- SNatTableId
SourceVSwitchId:
Fn::GetAtt:
- VSwitch
- VSwitchId
DependsOn: EIpSnatAssociation
Metadata:
ALIYUN::ROS::Designer:
id: a53d9221-6b20-4318-bb4b-fb6bd3c4e440
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: 70e9126d-9a38-4653-a1e1-1ab8fb89e885
SlaveGroup:
Type: ALIYUN::ECS::InstanceGroup
Properties:
VpcId:
Fn::GetAtt:
- Vpc
- VpcId
VSwitchId:
Ref: VSwitch
SecurityGroupId:
Ref: SecurityGroup
ImageId:
Ref: ImageId
InstanceName: ecsinstance
InstanceType:
Ref: InstanceType
IoOptimized: optimized
MaxAmount:
Ref: SlaveAmount
Password:
Ref: InstancePassword
SystemDiskCategory:
Ref: SystemDiskCategory
UserData:
Fn::Replace:
- ros-notify:
Fn::GetAtt:
- SlaveGroupConditionHandle
- CurlCli
- Fn::Join:
- ''
- - "#!/bin/bash \n"
- "# set -e \n"
- "export HOME=/root \n"
- "export HOSTNAME=`hostname` \n"
- "cd /root \n"
- "rm -rf .ssh \n"
- "ssh-keygen -t rsa -P '' -f '/root/.ssh/id_rsa' \n"
- "cd /root/.ssh \n"
- "rm -f * \n"
- "echo '-----BEGIN RSA PRIVATE KEY-----' > id_rsa \n"
- "echo 'MIIEowIBAAKCAQEAzfQ/QHwWB1njU9+Wu3RYi9g+g5rydSpAE0klefTJuZjtcaic'\
\ >> id_rsa \n"
- "echo 'SCeBN5avih8UToZ148+Ef2YzOtoosqluZpoYLCPSpAqr8pmviBJIU3vfu9mnDG9L'\
\ >> id_rsa \n"
- "echo 'oevT6K8w3wCBRCmqu+vc0Tpju/EeCuYK3+8w7e2I6F3+zIYzhhX3qmkocje7ACnV'\
\ >> id_rsa \n"
- "echo 'yh2DB/2m3sogTMc0RT+5y3kJAnC6TOIlGsYjOOkPbEF3Ifn1o4ZjOFOmQlcRJer4'\
\ >> id_rsa \n"
- "echo '1E6rTdXAxS2uDNMFBCf9Xyx7O9J+ELTCAXc4h7AE6WLdQb5Apzv4t1KswCAtRenP'\
\ >> id_rsa \n"
- "echo '1xGcUYY8I/JUT2VvBWtQJennrk9jrPZUFDcmcwIDAQABAoIBAAwzDZQaRYvF7UtI'\
\ >> id_rsa \n"
- "echo 'kTslVyFhe8J76SS7jfQWfxvMPi66OkZjQG6duG+8g0VhNei42j7WSfjp6trvlT2P'\
\ >> id_rsa \n"
- "echo '/7QgKJJkxNNmtmy2Ycljm9kmG0ibSePYq9g5ieHcjr6G3yFUfoKHJBtYpBO74pWu'\
\ >> id_rsa \n"
- "echo 'rrI5DuLpERUCjFc9E8w7fOIhPH4XZ6wk/EmPxHTgxZk+aMvqptyPSbUyiUOvCiZf'\
\ >> id_rsa \n"
- "echo 'MD0ircs9vgtslMVDlz9m6CoiNz6B3Yf6eLRoGGMiGnsQzZHIfnHCMX8i65Jc+TvQ'\
\ >> id_rsa \n"
- "echo 'fLopIHzwBwI55xpcOIBRgYiEAQJhLsSNSFugoxMcwe9RalTGGS21HOQu4b3ZylKM'\
\ >> id_rsa \n"
- "echo '8ofEVKECgYEA/Y4MzN04wAsM1yNuHN+9sdiVLG28LWH3dgpcXqa9gyNsWs9Gf8uf'\
\ >> id_rsa \n"
- "echo 'qbuvQGeKDRXCW93wO1jO+pCYVrkyY3l+KhBKIqmkJT5gFsa8dBUvEBLALiHNg3+o'\
\ >> id_rsa \n"
- "echo 'jR2Vqsemk8kMZA8zfJ3FKcMb1pt4S2GqepqsdC3DgzIIsxufCh7jSzsCgYEAz/Cv'\
\ >> id_rsa \n"
- "echo 'Z7gAdSFC8q6QxFxSyhfZwGA6QW6ZU7rZv9ZdGySvZg+vHbpNVmQ0BAQzJui3Qs9u'\
\ >> id_rsa \n"
- "echo 'XQMpYafXWzKsPzG6ZWvYXTF7fuxlovvG8Qd2A2QnGtGMB9YtQMHVqbsUDwxMjiTn'\
\ >> id_rsa \n"
- "echo 'VBZILkDf+WCwQ98P5UMoumI0goIcNZ+AXhcqrikCgYBkSwLvKfYfqH9Mvfv5Odsr'\
\ >> id_rsa \n"
- "echo '9NKUv1c20FB1BYYh/mxp6eIbTW/CbwXZup6IqCvoHxpBAlna77b3T6iibSDsTgtE'\
\ >> id_rsa \n"
- "echo 'kirw6Q8/mBukBrpWZGa4QeJ4nPBQuncuUmx4H/7Y6CaZkZW5DiMF8OIbEmYT0y7+'\
\ >> id_rsa \n"
- "echo 'zh222r9CLtFYH23aL/uSLwKBgQCS1xyG2eE41aw5RBznDWtJW15iA5If8sJD5ocu'\
\ >> id_rsa \n"
- "echo 'eWp2aImUQS8ghxdmEozI6U5WA7CmdWUyObFXTPc/Z6FLXwqJ5IZ+CRt0neuIFNSA'\
\ >> id_rsa \n"
- "echo 'EQy9iFQ1FBUW06BRQpBns7yOg9jr6BOTxchjIV0I9caDp1nKRIrWU9NQ9iCFnYVA'\
\ >> id_rsa \n"
- "echo '7IsvQQKBgFxgF7UOhwaiMb/ATSuhm2v9kVvRPEO9umdo7YJ9I4L09lYbAtpcnusQ'\
\ >> id_rsa \n"
- "echo 'fIROYL25VeEMgYcQyInc3Fm/sgJdbXQnUy+3QbbCcBCmcLj27LPQyxuu7p9hbPPT'\
\ >> id_rsa \n"
- "echo 'Mxx37OmYvOkSVTQz0T9HfDGvOJgt4t4cXD4T/7ewk62p6jdpSQrt' >> id_rsa\
\ \n"
- "echo '-----END RSA PRIVATE KEY-----' >> id_rsa \n"
- "echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDN9D9AfBYHWeNT35a7dFiL2D6DmvJ1KkATSSV59Mm5mO1xqJxIJ4E3lq+KHxROhnXjz4R/ZjM62iiyqW5mmhgsI9KkCqvyma+IEkhTe9+72acMb0uh69PorzDfAIFEKaq769zROmO78R4K5grf7zDt7YjoXf7MhjOGFfeqaShyN7sAKdXKHYMH/abeyiBMxzRFP7nLeQkCcLpM4iUaxiM46Q9sQXch+fWjhmM4U6ZCVxEl6vjUTqtN1cDFLa4M0wUEJ/1fLHs70n4QtMIBdziHsATpYt1BvkCnO/i3UqzAIC1F6c/XEZxRhjwj8lRPZW8Fa1Al6eeuT2Os9lQUNyZz\
\ root@iZ2zee53wf4ndvajz30cdvZ' > id_rsa.pub \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"
- 'ros-notify -d ''{"data" : "Config SSH login without password."}''
'
Metadata:
ALIYUN::ROS::Designer:
id: 6d493c3e-6268-4e13-97ac-8bd77c7bc3fa
SlaveGroupConditionHandle:
Type: ALIYUN::ROS::WaitConditionHandle
Properties: {}
Metadata:
ALIYUN::ROS::Designer:
id: ea294f06-892c-4488-8aa7-6ad5a9e4e93e
SlaveGroupWaitCondition:
Type: ALIYUN::ROS::WaitCondition
Properties:
Count:
Ref: SlaveAmount
Handle:
Ref: SlaveGroupConditionHandle
Timeout: 1800
DependsOn: SlaveGroup
Metadata:
ALIYUN::ROS::Designer:
id: 015fe252-8418-40a7-ab81-50756bb6b92a
Master:
Type: ALIYUN::ECS::Instance
Properties:
VpcId:
Fn::GetAtt:
- Vpc
- VpcId
VSwitchId:
Ref: VSwitch
SecurityGroupId:
Ref: SecurityGroup
ImageId:
Ref: ImageId
AllocatePublicIP: false
InstanceName: ecsinstance
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"
- "# set -e \n"
- ips_slave=
- Fn::Join:
- ','
- Fn::GetAtt:
- SlaveGroup
- PrivateIps
- '
'
- hostnames_slave=
- Fn::Join:
- ','
- Fn::GetAtt:
- SlaveGroup
- HostNames
- '
'
- HADOOP_HOME=/usr/local/hadoop/hadoop-2.7.7/
- '
'
- HadoopUrl=
- Ref: HadoopUrl
- '
'
- MasterName=master.hadoop
- '
'
- "OLD_IFS=$IFS \nIFS=, \nips=($ips_slave) \nhostnames=($hostnames_slave)\
\ \nIFS=$OLD_IFS \n"
- "hostnamectl --static set-hostname \"$MasterName\" \n"
- "export HOME=/root \n"
- "export HOSTNAME=`hostname` \n"
- "ip_addr=`ifconfig eth0 | awk '/inet /{print $2}'` \n"
- "cd /root \n"
- "rm -rf .ssh \n"
- "ssh-keygen -t rsa -P '' -f '/root/.ssh/id_rsa' \n"
- "cd /root/.ssh \n"
- "mv id_rsa bak.id_rsa \nmv id_rsa.pub bak.id_rsa.pub \n"
- "echo '-----BEGIN RSA PRIVATE KEY-----' > id_rsa \n"
- "echo 'MIIEowIBAAKCAQEAzfQ/QHwWB1njU9+Wu3RYi9g+g5rydSpAE0klefTJuZjtcaic'\
\ >> id_rsa \n"
- "echo 'SCeBN5avih8UToZ148+Ef2YzOtoosqluZpoYLCPSpAqr8pmviBJIU3vfu9mnDG9L'\
\ >> id_rsa \n"
- "echo 'oevT6K8w3wCBRCmqu+vc0Tpju/EeCuYK3+8w7e2I6F3+zIYzhhX3qmkocje7ACnV'\
\ >> id_rsa \n"
- "echo 'yh2DB/2m3sogTMc0RT+5y3kJAnC6TOIlGsYjOOkPbEF3Ifn1o4ZjOFOmQlcRJer4'\
\ >> id_rsa \n"
- "echo '1E6rTdXAxS2uDNMFBCf9Xyx7O9J+ELTCAXc4h7AE6WLdQb5Apzv4t1KswCAtRenP'\
\ >> id_rsa \n"
- "echo '1xGcUYY8I/JUT2VvBWtQJennrk9jrPZUFDcmcwIDAQABAoIBAAwzDZQaRYvF7UtI'\
\ >> id_rsa \n"
- "echo 'kTslVyFhe8J76SS7jfQWfxvMPi66OkZjQG6duG+8g0VhNei42j7WSfjp6trvlT2P'\
\ >> id_rsa \n"
- "echo '/7QgKJJkxNNmtmy2Ycljm9kmG0ibSePYq9g5ieHcjr6G3yFUfoKHJBtYpBO74pWu'\
\ >> id_rsa \n"
- "echo 'rrI5DuLpERUCjFc9E8w7fOIhPH4XZ6wk/EmPxHTgxZk+aMvqptyPSbUyiUOvCiZf'\
\ >> id_rsa \n"
- "echo 'MD0ircs9vgtslMVDlz9m6CoiNz6B3Yf6eLRoGGMiGnsQzZHIfnHCMX8i65Jc+TvQ'\
\ >> id_rsa \n"
- "echo 'fLopIHzwBwI55xpcOIBRgYiEAQJhLsSNSFugoxMcwe9RalTGGS21HOQu4b3ZylKM'\
\ >> id_rsa \n"
- "echo '8ofEVKECgYEA/Y4MzN04wAsM1yNuHN+9sdiVLG28LWH3dgpcXqa9gyNsWs9Gf8uf'\
\ >> id_rsa \n"
- "echo 'qbuvQGeKDRXCW93wO1jO+pCYVrkyY3l+KhBKIqmkJT5gFsa8dBUvEBLALiHNg3+o'\
\ >> id_rsa \n"
- "echo 'jR2Vqsemk8kMZA8zfJ3FKcMb1pt4S2GqepqsdC3DgzIIsxufCh7jSzsCgYEAz/Cv'\
\ >> id_rsa \n"
- "echo 'Z7gAdSFC8q6QxFxSyhfZwGA6QW6ZU7rZv9ZdGySvZg+vHbpNVmQ0BAQzJui3Qs9u'\
\ >> id_rsa \n"
- "echo 'XQMpYafXWzKsPzG6ZWvYXTF7fuxlovvG8Qd2A2QnGtGMB9YtQMHVqbsUDwxMjiTn'\
\ >> id_rsa \n"
- "echo 'VBZILkDf+WCwQ98P5UMoumI0goIcNZ+AXhcqrikCgYBkSwLvKfYfqH9Mvfv5Odsr'\
\ >> id_rsa \n"
- "echo '9NKUv1c20FB1BYYh/mxp6eIbTW/CbwXZup6IqCvoHxpBAlna77b3T6iibSDsTgtE'\
\ >> id_rsa \n"
- "echo 'kirw6Q8/mBukBrpWZGa4QeJ4nPBQuncuUmx4H/7Y6CaZkZW5DiMF8OIbEmYT0y7+'\
\ >> id_rsa \n"
- "echo 'zh222r9CLtFYH23aL/uSLwKBgQCS1xyG2eE41aw5RBznDWtJW15iA5If8sJD5ocu'\
\ >> id_rsa \n"
- "echo 'eWp2aImUQS8ghxdmEozI6U5WA7CmdWUyObFXTPc/Z6FLXwqJ5IZ+CRt0neuIFNSA'\
\ >> id_rsa \n"
- "echo 'EQy9iFQ1FBUW06BRQpBns7yOg9jr6BOTxchjIV0I9caDp1nKRIrWU9NQ9iCFnYVA'\
\ >> id_rsa \n"
- "echo '7IsvQQKBgFxgF7UOhwaiMb/ATSuhm2v9kVvRPEO9umdo7YJ9I4L09lYbAtpcnusQ'\
\ >> id_rsa \n"
- "echo 'fIROYL25VeEMgYcQyInc3Fm/sgJdbXQnUy+3QbbCcBCmcLj27LPQyxuu7p9hbPPT'\
\ >> id_rsa \n"
- "echo 'Mxx37OmYvOkSVTQz0T9HfDGvOJgt4t4cXD4T/7ewk62p6jdpSQrt' >> id_rsa\
\ \n"
- "echo '-----END RSA PRIVATE KEY-----' >> id_rsa \n"
- "echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDN9D9AfBYHWeNT35a7dFiL2D6DmvJ1KkATSSV59Mm5mO1xqJxIJ4E3lq+KHxROhnXjz4R/ZjM62iiyqW5mmhgsI9KkCqvyma+IEkhTe9+72acMb0uh69PorzDfAIFEKaq769zROmO78R4K5grf7zDt7YjoXf7MhjOGFfeqaShyN7sAKdXKHYMH/abeyiBMxzRFP7nLeQkCcLpM4iUaxiM46Q9sQXch+fWjhmM4U6ZCVxEl6vjUTqtN1cDFLa4M0wUEJ/1fLHs70n4QtMIBdziHsATpYt1BvkCnO/i3UqzAIC1F6c/XEZxRhjwj8lRPZW8Fa1Al6eeuT2Os9lQUNyZz\
\ root@iZ2zee53wf4ndvajz30cdvZ' > id_rsa.pub \n"
- "cp id_rsa.pub authorized_keys \n"
- "chmod 600 authorized_keys \nchmod 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"
- "for ip in ${ips[*]} \ndo \nscp -r /root/.ssh/bak.* root@$ip:/root/.ssh/\
\ \ndone \n"
- "for ip in ${ips[*]} \ndo \nssh root@$ip \"cd /root/.ssh; rm -f id_rsa;\
\ mv bak.id_rsa id_rsa; rm -f id_rsa.pub; mv bak.id_rsa.pub id_rsa.pub;\
\ rm -f authorized_keys; cp id_rsa.pub authorized_keys; chmod 600 authorized_keys;\
\ chmod 600 id_rsa; exit\" \ndone \n"
- "cd /root/.ssh \n rm id_rsa \n mv bak.id_rsa id_rsa \n rm id_rsa.pub\
\ \n mv bak.id_rsa.pub id_rsa.pub \n rm authorized_keys \n cp id_rsa.pub\
\ authorized_keys \n chmod 600 authorized_keys \n chmod 600 id_rsa \n\
\ cd \n"
- "echo $ip_addr $MasterName >> /etc/hosts \n"
- "i=0 \n"
- "for ip in ${ips[*]} \ndo \necho $ip ${hostnames[$i]} >> /etc/hosts\
\ \ni=$[i+1] \ndone \n"
- "for ip in ${ips[*]} \ndo \ni=0 \nssh root@$ip \"echo $ip_addr $MasterName\
\ >> /etc/hosts; exit\" \n"
- "for ip1 in ${ips[*]} \ndo \nssh root@$ip \"echo $ip1 ${hostnames[$i]}\
\ >> /etc/hosts; exit\" \ni=$[i+1] \ndone \n"
- "done \n"
- "cd /root \n"
- "yum -y install aria2 \n"
- "yum -y install java \n"
- "for ip in ${ips[*]} \ndo \nssh root@$ip \"yum -y install java; exit\"\
\ \ndone \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 \nmkdir -p $HADOOP_HOME/dfs/name \nmkdir\
\ -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"
- "for ip in ${ips[*]} \ndo \nssh root@$ip \"mkdir -p $HADOOP_HOME; exit\"\
\ \ndone \n"
- "for ip in ${ips[*]} \ndo \nscp -r $HADOOP_HOME/* root@$ip:$HADOOP_HOME\
\ \ndone \n"
- "cd $HADOOP_HOME/etc/hadoop \nrm slaves \n"
- "for ip in ${ips[*]} \ndo \necho $ip >> slaves \ndone \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."}''
'
DependsOn:
- SNatEntry
- SlaveGroupWaitCondition
Metadata:
ALIYUN::ROS::Designer:
id: 2fd8a819-e7d0-4577-9f26-b30b7b52920e
ForwardEntry:
Type: ALIYUN::ECS::ForwardEntry
Properties:
ExternalIp:
Fn::GetAtt:
- EipForward
- EipAddress
ExternalPort: Any
ForwardTableId:
Fn::GetAtt:
- NatGateway
- ForwardTableId
InternalIp:
Fn::GetAtt:
- Master
- PrivateIp
InternalPort: Any
IpProtocol: Any
DependsOn:
- EIpForwardAssociation
- Master
Metadata:
ALIYUN::ROS::Designer:
id: ba73340e-0f6a-409a-8158-879acfcba3d6
MasterConditionHandle:
Type: ALIYUN::ROS::WaitConditionHandle
Properties: {}
Metadata:
ALIYUN::ROS::Designer:
id: 8099d27e-168d-4a76-a68c-f4f7da25d6d9
MasterWaitCondition:
Type: ALIYUN::ROS::WaitCondition
Properties:
Count: 1
Handle:
Ref: MasterConditionHandle
Timeout: 3600
DependsOn: Master
Metadata:
ALIYUN::ROS::Designer:
id: fa38c6f5-ade9-4708-99b7-e20d90b59324
Outputs:
WebsiteURL:
Description: URL for newly created Hadoop environment.
Value:
Fn::Join:
- ''
- - http://
- Fn::GetAtt:
- EipForward
- EipAddress
- :50070
Metadata:
ALIYUN::ROS::Interface:
ParameterGroups:
- Parameters:
- VpcCidrBlock
- VSwitchCidrBlock
Label:
default: VPC
- Parameters:
- ZoneId
- InstanceType
- SystemDiskCategory
- ImageId
- SlaveAmount
- InstancePassword
Label:
default: ECS
- Parameters:
- HadoopUrl
Label:
default: Hadoop
TemplateTags:
- acs:example:大数据:创建基于ECSGroup部署Hadoop分布式环境
ALIYUN::ROS::Designer:
015fe252-8418-40a7-ab81-50756bb6b92a:
position:
x: 698
y: 197
size:
height: 60
width: 60
z: 0
0475591c-8db6-4f87-849a-4e35284a4667:
source:
id: 70c47340-6b04-4846-9abf-2ef3670e7747
target:
id: a0b9d5ac-fb5f-41c9-9af1-0f851f130e89
z: 1
0b1932dc-9a84-430d-af75-752d6c2adf1a:
position:
x: 335
y: -2
size:
height: 60
width: 60
z: 0
204020f5-c353-4ac5-9e6e-5589c26be711:
source:
id: a53d9221-6b20-4318-bb4b-fb6bd3c4e440
target:
id: a0b9d5ac-fb5f-41c9-9af1-0f851f130e89
z: 1
24c2e28e-c919-4084-b62b-d2b3597bd0b6:
source:
id: 0b1932dc-9a84-430d-af75-752d6c2adf1a
target:
id: f03ace11-61e3-4496-9267-4501fd61f180
z: 1
2fd8a819-e7d0-4577-9f26-b30b7b52920e:
position:
x: 335
y: 279
size:
height: 60
width: 60
z: 2
3cfa64c6-318b-4a56-8a45-9665ef911ef9:
source:
id: a53d9221-6b20-4318-bb4b-fb6bd3c4e440
target:
id: f03ace11-61e3-4496-9267-4501fd61f180
z: 1
460373b7-622e-4704-a1f1-b7e2566b2b55:
source:
id: 2fd8a819-e7d0-4577-9f26-b30b7b52920e
target:
id: 70e9126d-9a38-4653-a1e1-1ab8fb89e885
z: 1
54b50e58-a945-4c99-8aec-591b5835d16f:
source:
id: ba73340e-0f6a-409a-8158-879acfcba3d6
target:
id: f132d13c-c40a-42ed-8d6f-d121b9e2ee33
z: 1
590fe01f-0ec1-4eee-a4ed-8611ba5c63b6:
source:
id: ba73340e-0f6a-409a-8158-879acfcba3d6
target:
id: 2fd8a819-e7d0-4577-9f26-b30b7b52920e
z: 1
6c080e90-7381-42e7-9856-a0051b8e1f6e:
source:
id: 70c47340-6b04-4846-9abf-2ef3670e7747
target:
id: f132d13c-c40a-42ed-8d6f-d121b9e2ee33
z: 1
6d493c3e-6268-4e13-97ac-8bd77c7bc3fa:
position:
x: 473
y: 279
size:
height: 60
width: 60
z: 2
70c47340-6b04-4846-9abf-2ef3670e7747:
position:
x: 116
y: 116
size:
height: 60
width: 60
z: 0
70e9126d-9a38-4653-a1e1-1ab8fb89e885:
position:
x: 402
y: 414
size:
height: 60
width: 60
z: 1
8099d27e-168d-4a76-a68c-f4f7da25d6d9:
position:
x: 90
y: 442
size:
height: 60
width: 60
z: 0
8871efe9-f3ed-40b7-8b2b-647844394a6a:
source:
id: fa38c6f5-ade9-4708-99b7-e20d90b59324
target:
id: 8099d27e-168d-4a76-a68c-f4f7da25d6d9
z: 1
9774f1b1-83cf-41bb-8608-6ffbbecf5160:
source:
id: 6d493c3e-6268-4e13-97ac-8bd77c7bc3fa
target:
id: 70e9126d-9a38-4653-a1e1-1ab8fb89e885
z: 1
a0b9d5ac-fb5f-41c9-9af1-0f851f130e89:
position:
x: 335
y: 177
size:
height: 60
width: 60
z: 2
a53d9221-6b20-4318-bb4b-fb6bd3c4e440:
position:
x: 474
y: 177
size:
height: 60
width: 60
z: 2
a5ea28cf-8a22-46f9-abe4-2efd53406501:
embeds:
- c5fd85c6-c1c4-4e98-adee-7b022916650a
- 70e9126d-9a38-4653-a1e1-1ab8fb89e885
position:
x: 236
y: 87
size:
height: 410
width: 416
z: 0
aedbbfd1-81bf-4887-a890-fe4010f956b5:
source:
id: 015fe252-8418-40a7-ab81-50756bb6b92a
target:
id: ea294f06-892c-4488-8aa7-6ad5a9e4e93e
z: 1
ba73340e-0f6a-409a-8158-879acfcba3d6:
position:
x: 116
y: 235
size:
height: 60
width: 60
z: 0
bc6a2ece-49a3-4dc0-bc59-6685874051a5:
source:
id: ba73340e-0f6a-409a-8158-879acfcba3d6
target:
id: a0b9d5ac-fb5f-41c9-9af1-0f851f130e89
z: 1
bcc54cd9-5111-4d13-99af-d3bdc356fa1d:
source:
id: 0b1932dc-9a84-430d-af75-752d6c2adf1a
target:
id: a0b9d5ac-fb5f-41c9-9af1-0f851f130e89
z: 1
c5fd85c6-c1c4-4e98-adee-7b022916650a:
embeds:
- 2fd8a819-e7d0-4577-9f26-b30b7b52920e
- a0b9d5ac-fb5f-41c9-9af1-0f851f130e89
- a53d9221-6b20-4318-bb4b-fb6bd3c4e440
- 6d493c3e-6268-4e13-97ac-8bd77c7bc3fa
position:
x: 300
y: 133
size:
height: 266
width: 276
z: 1
ea294f06-892c-4488-8aa7-6ad5a9e4e93e:
position:
x: 698
y: 327
size:
height: 60
width: 60
z: 0
f03ace11-61e3-4496-9267-4501fd61f180:
position:
x: 474
y: -2
size:
height: 60
width: 60
z: 0
f132d13c-c40a-42ed-8d6f-d121b9e2ee33:
position:
x: -3
y: 179
size:
height: 60
width: 60
z: 0
fa38c6f5-ade9-4708-99b7-e20d90b59324:
position:
x: 90
y: 329
size:
height: 60
width: 60
z: 0