/
gcp-dataproc.json
780 lines (779 loc) · 31 KB
/
gcp-dataproc.json
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
{
"icon": {
"type": "inline",
"arguments": {
"data": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFUAAABVCAYAAAA49ahaAAAOU0lEQVR4Xu2deXRU1R3Hv3febEkmewiEnUAQRaniUtuq1SyEsBSxDepxgR4Rat2ONSBJEAeSSdh6WihuqK3K0SqporIJWVuxQkux0oJKQAsBIfskmSSzvttzJyaTyczkvTfvTUg43L9g3u/+7u9+3u/d+7trCC4nxQkQxTVeVojLUEPgBJehDimolJJUk3Usp9EP43nHoHl5KpWGuhzW+oqVYadDwNOtUvHKGo1UdUDPr6aUPAXQiFAZLl8vaSeE/u4Wq+o5o5Hw8vV5NCgK9XYjNXB6vhoUI5Q0MqS6CC64rKqUKiOxKFWOYlCzjVTbpHN9ByBeKeMGUE9jnI0bWWIkdiXKVAxqerFzOwWylTDqYuggQElZrnqBEmUrAnXGBj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TFYPKCmHbhnQcqaagwjsjgv2+FAdLaqk2ZlLvA7vBmtadT1GoTCn7ixR/VzWuhop/CjREdwIqAJYH7VAR8vuEE1+skhM++XsBikPtXUhq4XfjOGiGcbxT8XLYmRNnh/QBD+HUVAVSX2FKHjp/O0Xup3Mp5Ffcgy4FKHLrcBmqXIJ+8l+GGgKo/wfsUyhPEm1t6gAAAABJRU5ErkJggg=="
}
},
"configuration-groups": [
{
"label": "GCP Account Information",
"properties": [
{
"widget-type": "textbox",
"label": "Project ID",
"name": "projectId",
"description": "Google Cloud Project ID, which uniquely identifies your project. You can find it on the Dashboard in the Cloud Platform Console. If the system is running on Google Cloud Platform, this can be left blank or set to 'auto-detect' and the system's project id will be used.",
"widget-attributes": {
"placeholder": "Specify your GCP Project ID"
}
},
{
"widget-type": "securekey-textarea",
"label": "Creator Service Account Key",
"name": "accountKey",
"description": "Service account key used to create Dataproc clusters. Paste the contents of the service account key JSON file that you can download from the service accounts section under IAM and admin on the Cloud Console. If the system is running on Google Cloud Platform, this can be left blank or set to 'auto-detect' and the system's credentials will be used.",
"widget-attributes": {
"placeholder": "Specify the GCP service account"
}
}
]
},
{
"label": "General Settings",
"properties": [
{
"widget-type": "select",
"label": "Region",
"name": "region",
"description": "Regions are collections of zones. Zones have high-bandwidth, low-latency network connections to other zones in the same region. For more information, refer to https://cloud.google.com/compute/docs/regions-zones/. If the system is running on Google Cloud Platform, this can be set to 'auto-detect' and the system's region will be used.",
"widget-attributes": {
"values": [
"auto-detect",
"africa-south1",
"asia-east1",
"asia-east2",
"asia-northeast1",
"asia-northeast2",
"asia-northeast3",
"asia-south1",
"asia-south2",
"asia-southeast1",
"asia-southeast2",
"australia-southeast1",
"australia-southeast2",
"europe-central2",
"europe-north1",
"europe-southwest1",
"europe-west1",
"europe-west10",
"europe-west12",
"europe-west2",
"europe-west3",
"europe-west4",
"europe-west6",
"europe-west8",
"europe-west9",
"me-central1",
"me-central2",
"me-west1",
"northamerica-northeast1",
"northamerica-northeast2",
"southamerica-east1",
"southamerica-west1",
"us-central1",
"us-central2",
"us-east1",
"us-east4",
"us-east5",
"us-south1",
"us-west1",
"us-west2",
"us-west3",
"us-west4",
"us-west8"
],
"default": "us-east1",
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Zone",
"name": "zone",
"description": "A zone is an isolated location within a region. The fully-qualified name for a zone is made up of <region>-<zone>. For example, the fully-qualified name for zone a in region us-central1 is us-central1-a. For more information, refer to https://cloud.google.com/compute/docs/regions-zones/. If the system is running on Google Cloud Platform, this can be set to 'auto-detect' and the system's zone will be used.",
"widget-attributes": {
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Network",
"name": "network",
"description": "Select a VPC network in the specified project to use when creating clusters with this profile. If this is left blank or set to 'auto-detect', a network from the project will be chosen.",
"widget-attributes": {
"default": "default",
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Network Host Project ID",
"name": "networkHostProjectId",
"description": "Google Cloud Project ID, which uniquely identifies the project where the network resides. This can be left blank if the network resides in the same project as specified in the Project ID. In case of Shared VPC this must be set to the host project ID where the network resides.",
"widget-attributes": {
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Subnet",
"name": "subnet",
"description": "Subnet to use when creating clusters. The subnet must be within the given network, and it must be for the same region that the zone is in. If this is left blank, a subnet will automatically be chosen based on the network and zone.",
"widget-attributes": {
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Runner Service Account",
"name": "serviceAccount",
"description": "Name of the service account of the Dataproc virtual machines (VM) that are used to run programs. If none is given, the default Compute Engine service account will be used.",
"widget-attributes": {
"size": "medium"
}
}
]
},
{
"label": "Master Nodes",
"properties": [
{
"widget-type": "select",
"label": "Number of masters",
"name": "masterNumNodes",
"description": "Master nodes contain the YARN Resource Manager, HDFS NameNode, and all job drivers",
"widget-attributes": {
"values": [
1,
3
],
"size": "medium",
"default": 1
}
},
{
"widget-type": "select",
"label": "Master Machine Type",
"name": "masterMachineType",
"description": "The type of master machine to use",
"widget-attributes": {
"values": [
"n1",
"n2",
"n2d",
"e2"
],
"default": "e2",
"size": "medium"
}
},
{
"widget-type": "select",
"label": "Master Cores",
"name": "masterCPUs",
"description": "The number of virtual cores to allocate to a master node",
"widget-attributes": {
"values": [
1,
2,
4,
6,
8,
16,
32,
64,
96
],
"size": "medium",
"default": 2
}
},
{
"widget-type": "memory-textbox",
"label": "Master Memory (GB)",
"name": "masterMemoryMB",
"description": "The amount of memory in GB to allocate for a master node",
"widget-attributes": {
"default": 8192,
"min": 1024,
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Master Disk Size (GB)",
"name": "masterDiskGB",
"description": "The disk size in GB to allocate for a master node",
"widget-attributes": {
"default": 1000,
"size": "medium"
}
},
{
"widget-type": "radio-group",
"label": "Master Disk Type",
"name": "masterDiskType",
"description": "The type of boot disk for a master node",
"widget-attributes": {
"layout": "inline",
"size": "medium",
"default": "pd-standard",
"options": [
{
"id": "pd-standard",
"label": "Standard Persistent Disk"
},
{
"id": "pd-ssd",
"label": "SSD Persistent Disk"
}
]
}
}
]
},
{
"label": "Worker node configuration",
"properties": [
{
"widget-type": "select",
"label": "Worker Machine Type",
"name": "workerMachineType",
"description": "The type of worker machine to use",
"widget-attributes": {
"values": [
"n1",
"n2",
"n2d",
"e2"
],
"default": "e2",
"size": "medium"
}
},
{
"widget-type": "select",
"label": "Worker Cores",
"name": "workerCPUs",
"description": "The number of virtual cores to allocate for worker nodes",
"widget-attributes": {
"values": [
1,
2,
4,
6,
8,
16,
32,
64,
96
],
"default": 2,
"size": "medium"
}
},
{
"widget-type": "memory-textbox",
"label": "Worker Memory (GB)",
"name": "workerMemoryMB",
"description": "The amount of memory in GB to allocate for a worker node",
"widget-attributes": {
"default": 8192,
"min": 1024,
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Worker Disk Size (GB)",
"name": "workerDiskGB",
"description": "The disk size in GB to allocate for a worker node",
"widget-attributes": {
"default": 1000,
"size": "medium"
}
},
{
"widget-type": "radio-group",
"label": "Worker Disk Type",
"name": "workerDiskType",
"description": "The type of boot disk for a worker node",
"widget-attributes": {
"layout": "inline",
"size": "medium",
"default": "pd-standard",
"options": [
{
"id": "pd-standard",
"label": "Standard Persistent Disk"
},
{
"id": "pd-ssd",
"label": "SSD Persistent Disk"
}
]
}
}
]
},
{
"label": "Number of cluster workers",
"properties": [
{
"widget-type": "toggle",
"label": "Use predefined Autoscaling",
"name": "enablePredefinedAutoScaling",
"description": "Automates cluster resource management for processing. This is a recommended autoscaling policy.",
"widget-attributes": {
"default": "false",
"on": {
"value": "true",
"label": "True"
},
"off": {
"value": "false",
"label": "False"
},
"size": "medium"
}
},
{
"widget-type": "number",
"label": "Number of primary workers",
"name": "workerNumNodes",
"description": "Worker nodes contain a YARN NodeManager and a HDFS DataNode.",
"widget-attributes": {
"default": 2,
"min": 1,
"size": "medium"
}
},
{
"widget-type": "number",
"label": "Number of secondary workers",
"name": "secondaryWorkerNumNodes",
"description": "Secondary worker nodes contain a YARN NodeManager but not a HDFS DataNode. This is normally set to 0 unless an autoscale policy requires it to be higher.",
"widget-attributes": {
"default": 0,
"min": 0,
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Autoscaling policy",
"name": "autoScalingPolicy",
"description": "Specify the Autoscaling Policy id (name) or the resource URI",
"widget-attributes": {
"placeholder": "projects/<gcp-project-id>/regions/<region>/autoscalingPolicies/<policy-name>"
}
}
]
},
{
"label": "Cluster Metadata",
"properties": [
{
"widget-type": "keyvalue",
"label": "Metadata",
"name": "clusterMetaData",
"description": "Add additional metadata for instances that run in your cluster. You can typically use it for tracking billing and chargebacks. For more details, see https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/metadata",
"widget-attributes": {
"showDelimiter": "false",
"delimiter": ";",
"kv-delimiter": "|",
"key-placeholder": "Key",
"value-placeholder": "Value"
}
},
{
"name": "networkTags",
"label": "Network Tags",
"widget-type": "csv",
"description": "Assign Network tags to apply firewall rules to specific nodes of cluster. Network tags must start with a lowercase letter and can contain lowercase letters, numbers, and hyphens. Tags must end with a lowercase letter or number. ",
"widget-attributes" : {}
}
]
},
{
"label": "Shielded VMs",
"properties": [
{
"widget-type": "toggle",
"label": "Enable Secure Boot",
"name": "secureBootEnabled",
"description": "Defines whether the Dataproc VMs have Secure Boot enabled.",
"widget-attributes": {
"default": "false",
"on": {
"value": "true",
"label": "True"
},
"off": {
"value": "false",
"label": "False"
},
"size": "medium"
}
},
{
"widget-type": "toggle",
"label": "Enable vTPM",
"name": "vTpmEnabled",
"description": "Defines whether the Dataproc VMs have the virtual Trusted Platform Module (vTPM) enabled.",
"widget-attributes": {
"default": "false",
"on": {
"value": "true",
"label": "True"
},
"off": {
"value": "false",
"label": "False"
},
"size": "medium"
}
},
{
"widget-type": "toggle",
"label": "Enable Integrity Monitoring",
"name": "integrityMonitoringEnabled",
"description": "Defines whether Dataproc VMs have integrity monitoring enabled.",
"widget-attributes": {
"default": "false",
"on": {
"value": "true",
"label": "True"
},
"off": {
"value": "false",
"label": "False"
},
"size": "medium"
}
}
]
},
{
"label": "Advanced Settings",
"properties": [
{
"widget-type": "hidden",
"name": "disableGCSCaching",
"widget-attributes": {
"default": "false"
}
},
{
"widget-type": "textbox",
"label": "Image Version",
"name": "imageVersion",
"description": "The Dataproc image version. If none is given, one will automatically be chosen. If Custom Image URI is specified, this field will be ignored.",
"widget-attributes": {
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Custom Image URI",
"name": "customImageUri",
"description": "Dataproc Image URI. If the URI is unspecified, it will be inferred from Image Version.",
"widget-attributes": {
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Staging Bucket",
"name": "gcsBucket",
"description": "Google Cloud Storage bucket used to stage job dependencies and config files for running pipelines in Google Cloud Dataproc",
"widget-attributes": {
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Temp Bucket",
"name": "tempBucket",
"description": "Google Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files in Google Cloud Dataproc",
"widget-attributes": {
"size": "medium"
}
},
{
"widget-type": "textbox",
"label": "Encryption Key Name",
"name": "encryptionKeyName",
"description": "The GCP customer managed encryption key (CMEK) name used by Cloud Dataproc",
"widget-attributes": {
"placeholder": "projects/<gcp-project-id>/locations/<key-location>/keyRings/<key-ring-name>/cryptoKeys/<key-name>"
}
},
{
"name": "scopes",
"label": "OAuth Scopes",
"widget-type": "csv",
"description": "The OAuth 2.0 scopes that you might need to request to access Google APIs, depending on the level of access you need. Google Cloud Platform Scope (https://www.googleapis.com/auth/cloud-platform) is always included.",
"widget-attributes" : {
"value-placeholder": ""
}
},
{
"name": "initActions",
"label": "Initialization Actions",
"widget-type": "csv",
"description": "A list of scripts to be executed during initialization of cluster. Init actions should be placed on Google Cloud Storage.",
"widget-attributes" : {
"value-placeholder": "gs://<gcs-bucket>/<your-script>"
}
},
{
"widget-type": "keyvalue",
"label": "Cluster Properties",
"name": "clusterProperties",
"description": "Cluster properties used to override default configuration properties for the Hadoop services. For example, the default Spark parallelism can be overriden by setting a value for spark:spark.default.parallelism. See https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/cluster-properties for more information.",
"widget-attributes": {
"showDelimiter": "false",
"key-placeholder": "prefix:key",
"value-placeholder": "value",
"kv-delimiter" : "=",
"delimiter" : ";",
"size": "large"
}
},
{
"widget-type": "keyvalue",
"label": "Common Labels",
"name": "labels",
"description": "Specifies labels for Dataproc clusters and jobs.",
"widget-attributes": {
"showDelimiter": "false",
"delimiter": ";",
"kv-delimiter": "|",
"key-placeholder": "Key",
"value-placeholder": "Value"
}
},
{
"widget-type": "keyvalue",
"label": "Cluster Labels",
"name": "clusterLabels",
"description": "Specifies labels for the Dataproc cluster being created.",
"widget-attributes": {
"showDelimiter": "false",
"delimiter": ";",
"kv-delimiter": "|",
"key-placeholder": "Key",
"value-placeholder": "Value"
}
},
{
"widget-type": "textbox",
"label": "Max Idle Time",
"name": "idleTTL",
"description": "Configure Dataproc to delete the cluster if it has been idle for longer than this many minutes. Clusters are normally deleted directly after a run ends, but this delete may fail in rare situations. For example, if permissions are revoked in the middle of a run, or if there is a Dataproc outage. Use this to ensure that clusters are eventually deleted even if the instance is unable to delete the cluster for any reason.",
"widget-attributes": {
"placeholder": "time in minutes",
"size": "medium",
"default": 30
}
},
{
"widget-type": "toggle",
"label": "Skip Cluster Delete",
"name": "skipDelete",
"description": "Whether to skip cluster deletion at the end of a run. Clusters will need to be deleted manually. This should only be used when debugging a failed run.",
"widget-attributes": {
"default": "false",
"on": {
"value": "true",
"label": "True"
},
"off": {
"value": "false",
"label": "False"
},
"size": "medium"
}
},
{
"widget-type": "toggle",
"label": "Enable Stackdriver Logging Integration",
"name": "stackdriverLoggingEnabled",
"description": "Enable or disable Stackdriver logging integration.",
"widget-attributes": {
"default": "true",
"on": {
"value": "true",
"label": "True"
},
"off": {
"value": "false",
"label": "False"
},
"size": "medium"
}
},
{
"widget-type": "toggle",
"label": "Enable Stackdriver Monitoring Integration",
"name": "stackdriverMonitoringEnabled",
"description": "Enable or disable Stackdriver monitoring integration.",
"widget-attributes": {
"default": "true",
"on": {
"value": "true",
"label": "True"
},
"off": {
"value": "false",
"label": "False"
},
"size": "medium"
}
},
{
"widget-type": "toggle",
"label": "Enable Component Gateway",
"name": "componentGatewayEnabled",
"description": "Enable Component Gateway to allow access to cluster UIs like the YARN ResourceManager and Spark HistoryServer.",
"widget-attributes": {
"default": "false",
"on": {
"value": "true",
"label": "True"
},
"off": {
"value": "false",
"label": "False"
},
"size": "medium"
}
},
{
"widget-type": "radio-group",
"label": "Launch Mode",
"name": "launchMode",
"description": "Whether to launch the program directly in the Dataproc job (client mode) or in a separate container (cluster mode). Client mode will result in faster start up times and fewer cluster resources used, but may run into errors if the launcher requires more memory.",
"widget-attributes": {
"layout": "inline",
"size": "medium",
"default": "cluster",
"options": [
{
"id": "client",
"label": "Client"
},
{
"id": "cluster",
"label": "Cluster"
}
]
}
},
{
"widget-type": "toggle",
"label": "Prefer External IP",
"name": "preferExternalIP",
"description": "When the system is running on Google Cloud Platform in the same network as the cluster, it will normally use the internal IP when communicating with the cluster. Set this to always use the external IP.",
"widget-attributes": {
"default": "false",
"on": {
"value": "true",
"label": "True"
},
"off": {
"value": "false",
"label": "False"
},
"size": "medium"
}
}
]
},
{
"label": "Polling Settings",
"properties": [
{
"widget-type": "textbox",
"label": "Create Poll Delay",
"name": "pollCreateDelay",
"description": "The number of seconds to wait after creating a cluster to begin polling to see if it has been created",
"widget-attributes": {
"default": "60",
"size": "small"
}
},
{
"widget-type": "textbox",
"label": "Create Poll Jitter",
"name": "pollCreateJitter",
"description": "Maximum amount of jitter in seconds to add to the delay for polling for cluster creation",
"widget-attributes": {
"default": "20",
"size": "small"
}
},
{
"widget-type": "textbox",
"label": "Delete Poll Delay",
"name": "pollDeleteDelay",
"description": "The number of seconds to wait after deleting a cluster to begin polling to see if it has been deleted",
"widget-attributes": {
"default": "30",
"size": "small"
}
},
{
"widget-type": "textbox",
"label": "Poll Interval",
"name": "pollInterval",
"description": "The number of seconds to wait in between polls for cluster status during create and delete operations",
"widget-attributes": {
"default": "2",
"size": "small"
}
}
]
}
],
"filters": [
{
"name": "Toggle condition for enabling autoscaling",
"condition": {
"property": "enablePredefinedAutoScaling",
"operator": "not equal to",
"value": "true"
},
"show": [
{
"name": "workerNumNodes",
"type": "property"
},
{
"name": "secondaryWorkerNumNodes",
"type": "property"
},
{
"name": "autoScalingPolicy",
"type": "property"
}
]
},
{
"name": "Show disableGCSCaching",
"condition": {
"property": "disableGCSCaching",
"operator": "equal",
"value": "true"
},
"show": [
{
"name": "disableGCSCaching",
"type": "property"
}
]
}
]
}