forked from logicalclocks/hopsworks-chef
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.rb
1975 lines (1484 loc) · 58.6 KB
/
metadata.rb
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
name "hopsworks"
maintainer "Jim Dowling"
maintainer_email "[email protected]"
license "Apache v2.0"
description "Installs/Configures HopsWorks, the UI for Hops Hadoop."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.3.0"
source_url "https://github.com/hopshadoop/hopsworks-chef"
%w{ ubuntu debian centos rhel }.each do |os|
supports os
end
depends 'glassfish'
depends 'ndb'
depends 'kagent'
depends 'hops'
depends 'elastic'
depends 'hadoop_spark'
depends 'flink'
depends 'zeppelin'
depends 'compat_resource'
depends 'ulimit2'
depends 'authbind'
depends 'epipe'
depends 'livy'
depends 'kkafka'
depends 'kzookeeper'
depends 'drelephant'
depends 'dela'
depends 'java'
depends 'tensorflow'
depends 'hopslog'
depends 'hopsmonitor'
depends 'hive2'
#link:Click <a target='_blank' href='https://%host%:4848'>here</a> to launch Glassfish in your browser (http)
recipe "hopsworks::install", "Installs Glassfish"
#link:Click <a target='_blank' href='http://%host%:8080/hopsworks'>here</a> to launch hopsworks in your browser (http)
recipe "hopsworks", "Installs HopsWorks war file, starts glassfish+application."
recipe "hopsworks::master", "Hopsworks master instance that will store the certificate authtority."
recipe "hopsworks::slave", "Hopsworks master instance that will store only an intermediate certificate authtority."
recipe "hopsworks::dev", "Installs development libraries needed for HopsWorks development."
recipe "hopsworks::letsencypt", "Given a glassfish installation and a letscrypt installation, update glassfish's key."
recipe "hopsworks::image", "Prepare for use as a virtualbox image."
recipe "hopsworks::purge", "Deletes glassfish installation."
#######################################################################################
# Required Attributes
#######################################################################################
attribute "java/jdk_version",
:display_name => "Jdk version",
:type => 'string'
attribute "java/install_flavor",
:display_name => "Oracle (default) or openjdk",
:type => 'string'
attribute "kapacitor/notify/email",
:description => "Email address. Recommended to use a gmail account",
:required => "required",
:type => 'string'
attribute "hopsworks/default/private_ips",
:description => "ip addrs",
:type => 'array'
attribute "hopsworks/email",
:description => "Email account to send notifications from. ",
:required => "required",
:type => 'string'
attribute "hopsworks/email_password",
:description => "Password for email account. ",
:required => "required",
:type => 'string'
attribute "hopsworks/twofactor_auth",
:description => "Ip Address/hostname of SMTP server (default is smtp.gmail.com)",
:type => 'string'
attribute "hopsworks/cert_mater_delay",
:description => "Delay for the Certificate Materialization service of Hopsworks to delete the certificates from the local fs",
:type => 'string'
attribute "hopsworks/smtp",
:description => "Ip Address/hostname of SMTP server (default is smtp.gmail.com)",
:type => 'string'
attribute "hopsworks/smtp_port",
:description => "Port of SMTP server (default is 587)",
:type => 'string'
attribute "hopsworks/smtp_ssl_port",
:description => "SSL port of SMTP server (default is 465)",
:type => 'string'
attribute "hopsworks/admin/user",
:description => "Username for the Administration account on the Web Application Server",
:type => 'string',
:required => "required"
attribute "hopsworks/admin/password",
:description => "Password for the Administration account on the Web Application Server",
:type => 'string',
:required => "required"
attribute "hopsworks/dir",
:description => "Installation directory for the glassfish binaries",
:type => 'string'
attribute "hopsworks/user",
:description => "Hopsworks/glassfish username to run service as",
:type => 'string'
attribute "hopsworks/group",
:description => "Hopsworks/glassfish group to run service as",
:type => 'string'
attribute "hopsworks/domains_dir",
:description => "Installation directory for the glassfish domains",
:type => 'string'
attribute "hopsworks/master/password",
:description => "Web Application Server master password",
:type => 'string'
attribute "download_url",
:description => "URL for downloading binaries",
:type => 'string'
attribute "hopsworks/cert/password",
:description => "password to glassfish certs",
:type => 'string'
attribute "hopsworks/cert/cn",
:description => "Certificate Name",
:type => 'string'
attribute "hopsworks/cert/o",
:description => "organization name",
:type => 'string'
attribute "hopsworks/cert/ou",
:description => "Organization unit",
:type => 'string'
attribute "hopsworks/cert/l",
:description => "Location",
:type => 'string'
attribute "hopsworks/cert/s",
:description => "City",
:type => 'string'
attribute "hopsworks/cert/c",
:description => "Country (2 letters)",
:type => 'string'
attribute "glassfish/version",
:description => "glassfish/version",
:type => 'string'
attribute "glassfish/user",
:description => "Install and run the glassfish server as this username",
:type => 'string'
attribute "glassfish/group",
:description => "glassfish/group",
:type => 'string'
attribute "hopsworks/port",
:description => "Port that webserver will listen on",
:type => 'string'
attribute "hopsworks/max_mem",
:description => "glassfish/max_mem",
:type => 'string'
attribute "hopsworks/min_mem",
:description => "glassfish/min_mem",
:type => 'string'
attribute "hopsworks/max_stack_size",
:description => "glassfish/max_stack_size",
:type => 'string'
attribute "hopsworks/max_perm_size",
:description => "glassfish/max_perm_size",
:type => 'string'
attribute "hopsworks/reinstall",
:description => "Enter 'true' if this is a reinstallation",
:type => 'string'
attribute "hopsworks/pixiedust/enabled",
:description => "Enter 'true' to install pixiedust, 'false' otherwise",
:type => 'string'
attribute "hopsworks/war_url",
:description => "Url for the hopsworks war file",
:type => 'string'
attribute "hopsworks/ear_url",
:description => "Url for the hopsworks ear file",
:type => 'string'
attribute "hopsworks/ca_url",
:description => "Url for the hopsworks certificate authority war file",
:type => 'string'
attribute "hopsworks/yarn_default_quota_mins",
:description => "Default number of CPU mins availble per project",
:type => 'string'
attribute "hopsworks/hdfs_default_quota_mbs",
:description => "Default amount in MB of available storage per project",
:type => 'string'
attribute "hopsworks/hive_default_quota_mbs",
:description => "Default amount in MB of available storage per project",
:type => 'string'
attribute "hopsworks/max_num_proj_per_user",
:description => "Maximum number of projects that can be created by each user",
:type => 'string'
attribute "hopsworks/kafka_num_replicas",
:description => "Default number of replicas for Kafka Topics.",
:type => 'string'
attribute "hopsworks/kafka_num_partitions",
:description => "Default number of partitions for Kafka Topics.",
:type => 'string'
attribute "hopsworks/encryption_password",
:description => "Default master encryption password for storing secrets.",
:type => 'string'
attribute "hopsworks/file_preview_image_size",
:description => "Maximum size in bytes of an image that can be previewed in DataSets",
:type => 'string'
attribute "hopsworks/file_preview_txt_size",
:description => "Maximum size in lines of file that can be previewed in DataSets",
:type => 'string'
attribute "hopsworks/anaconda_enabled",
:description => "Default is 'true'. Set to 'false' to disable anaconda.",
:type => 'string'
attribute "hopsworks/staging_dir",
:description => "Default is a 'domains/domain1/scratch'. Override to use a path on a disk volume with plenty of available space.",
:type => 'string'
attribute "hopsworks/version",
:description => "The version of ear/web/ca to download",
:type => 'string'
attribute "vagrant",
:description => "'true' to rewrite /etc/hosts, 'false' to disable vagrant /etc/hosts",
:type => 'string'
attribute "services/enabled",
:description => "Default 'false'. Set to 'true' to enable daemon services, so that they are started on a host restart.",
:type => "string"
attribute "install/dir",
:description => "Default ''. Set to a base directory under which all hops services will be installed.",
:type => "string"
attribute "install/user",
:description => "User to install the services as",
:type => "string"
attribute "install/ssl",
:description => "Is SSL turned on for all services?",
:type => "string"
attribute "install/cleanup_downloads",
:description => "Remove any zipped binaries that were downloaded and used to install services",
:type => "string"
attribute "hopsworks/monitor_max_status_poll_try",
:description => "Default number of time the job monitor fail at polling the job status before to consider the job as failed",
:type => 'string'
##
##
## Spark
##
##
attribute "hadoop_spark/historyserver/private_ips",
:description => "historyserver ip addr",
:type => 'array'
attribute "hadoop_spark/user",
:description => "Username to run spark master/worker as",
:type => 'string'
attribute "hadoop_spark/group",
:description => "Groupname to run spark master/worker as",
:type => 'string'
attribute "hadoop_spark/dir",
:description => "Directory for installation",
:type => 'string'
attribute "hadoop_spark/executor_memory",
:description => "Executor memory (e.g., 512m)",
:type => 'string'
attribute "hadoop_spark/driver_memory",
:description => "Driver memory (e.g., 1g)",
:type => 'string'
attribute "hadoop_spark/eventlog_enabled",
:description => "Eventlog enabled (true|false)",
:type => 'string'
attribute "hadoop_spark/streaming/stopGracefullyOnShutdown",
:description => "Shut down the StreamingContext gracefully on JVM shutdown rather than immediately (true|false)",
:type => 'string'
attribute "hadoop_spark/worker/cleanup/enabled",
:description => "Spark standalone worker cleanup enabled (true|false)",
:type => 'string'
attribute "hadoop_spark/version",
:description => "Spark version (e.g., 1.6.1 or 2.0.1 or 2.1.0)",
:type => 'string'
attribute "hadoop_spark/hadoop/distribution",
:description => "'hops' or 'hops'",
:type => 'string'
attribute "hadoop_spark/history/fs/cleaner/enabled",
:description => "'true' to enable cleanup of the historyservers logs",
:type => 'string'
attribute "hadoop_spark/history/fs/cleaner/interval",
:description => "How often to run the cleanup of the historyservers logs (e.g., '1d' for once per day)",
:type => 'string'
attribute "hadoop_spark/history/fs/cleaner/maxAge",
:description => "Age in days of the historyservers logs before they are removed (e.g., '7d' for 7 days)",
:type => 'string'
attribute "hadoop_spark/yarn/am/attemptFailuresValidityInterval",
:description => "Defines the validity interval for AM failure tracking. If the AM has been running for at least the defined interval, the AM failure count will be reset.",
:type => 'string'
attribute "hadoop_spark/driver/maxResultSize",
:description => "Default '5g'. Change to '1g', '500m', etc",
:type => 'string'
attribute "hadoop_spark/local/dir",
:description => "Default /tmp'. Change to: '/srv/disk1/tmp,/srv/disk2/tmp,/srv/disk3/tmp'",
:type => 'string'
##
##
## Flink
##
##
attribute "flink/user",
:description => "Username to run flink jobmgr/task as",
:type => 'string'
attribute "flink/group",
:description => "Groupname to run flink jobmgr/task as",
:type => 'string'
attribute "flink/mode",
:description => "Run Flink JobManager in one of the following modes: BATCH, STREAMING",
:type => 'string'
attribute "flink/jobmanager/heap_mbs",
:description => "Flink JobManager Heap Size in MB",
:type => 'string'
attribute "flink/taskmanager/heap_mbs",
:description => "Flink TaskManager Heap Size in MB",
:type => 'string'
attribute "flink/dir",
:description => "Root directory for flink installation",
:type => 'string'
attribute "flink/taskmanager/num_taskslots",
:description => "Override the default number of task slots (default = NoOfCPUs)",
:type => 'string'
attribute "flink/hadoop/distribution",
:description => "hops (default) or hops",
:type => 'string'
##
##
## Livy
##
##
attribute "livy/default/private_ips",
:description => "ip addrs",
:type => 'array'
attribute "livy/user",
:description => "User to install/run as",
:type => 'string'
attribute "livy/group",
:description => "Group to install/run as",
:type => 'string'
attribute "livy/dir",
:description => "base dir for installation",
:type => 'string'
attribute "livy/version",
:dscription => "livy.version",
:type => "string"
attribute "livy/url",
:dscription => "livy.url",
:type => "string"
attribute "livy/port",
:dscription => "livy.port",
:type => "string"
attribute "livy/home",
:dscription => "livy.home",
:type => "string"
attribute "livy/keystore",
:dscription => "ivy.keystore",
:type => "string"
attribute "livy/keystore_password",
:dscription => "ivy.keystore_password",
:type => "string"
attribute "hopsworks/livy_zeppelin_session_timeout",
:description => "Session timeout for Livy on Zeppelin, to differentiate from the default for Jupyter.",
:type => 'string'
##
##
## Epipe
##
##
attribute "epipe/default/private_ips",
:description => "historyserver ip addr",
:type => 'array'
attribute "epipe/user",
:description => "User to run Epipe server as",
:type => "string"
attribute "epipe/group",
:description => "Group to run Epipe server as",
:type => "string"
attribute "epipe/version",
:description => "Version of epipe to use",
:type => "string"
attribute "epipe/url",
:description => "Url to epipe binaries",
:type => "string"
attribute "epipe/dir",
:description => "Parent directory to install epipe in (/srv is default)",
:type => "string"
attribute "epipe/pid_file",
:description => "Change the location for the pid_file.",
:type => "string"
##
##
## drelephant
##
##
attribute "drelephant/default/private_ips",
:description => "ip addrs",
:type => 'array'
attribute "drelephant/dir",
:description => "Default base installation directory for the Dr Elephant server (default: /srv)",
:type => 'string'
attribute "drelephant/user",
:description => "Username that runs the Dr Elephant server",
:type => 'string'
attribute "drelephant/group",
:description => "Groupname that runs the Dr Elephant server",
:type => 'string'
attribute "drelephant/port",
:description => "Port for running the Dr Elephant server",
:type => 'string'
##
##
## hopsmonitor
##
##
attribute "hopsmonitor/default/private_ips",
:description => "ip addrs",
:type => 'array'
attribute "hopsmonitor/user",
:description => "User to run Influxdb/Grafana server as",
:type => "string"
attribute "hopsmonitor/group",
:description => "Group to run Influxdb/Grafana server as",
:type => "string"
attribute "hopsmonitor/dir",
:description => "Base install directory for Influxdb/Grafana ",
:type => "string"
#
# InfluxDB
#
attribute "influxdb/db_user",
:description => "username for influxdb account used by hopsworks ",
:type => "string"
attribute "influxdb/db_password",
:description => "Password for influxdb account used by hopsworks",
:type => "string"
attribute "influxdb/admin_user",
:description => "username for influxdb admin ",
:type => "string"
attribute "influxdb/admin_password",
:description => "Password for influxdb admin user",
:type => "string"
attribute "influxdb/http/port",
:description => "Http port for influxdb",
:type => "string"
attribute "influxdb/port",
:description => "Main port for influxdb",
:type => "string"
attribute "influxdb/admin/port",
:description => "Admin port for influxdb",
:type => "string"
attribute "graphite/port",
:description => "Port for influxdb graphite connector",
:type => "string"
#
# Grafana
#
attribute "grafana/admin_user",
:description => "username for grafana admin ",
:type => "string"
attribute "grafana/admin_password",
:description => "Password for grafana admin user",
:type => "string"
attribute "grafana/mysql_user",
:description => "username for grafana mysql user ",
:type => "string"
attribute "grafana/mysql_password",
:description => "Password for grafana mysql user",
:type => "string"
attribute "grafana/port",
:description => "Port for grafana",
:type => "string"
##
##
## hopslog
##
##
attribute "hopslog/default/private_ips",
:description => "ip addrs",
:type => 'array'
attribute "hopslog/user",
:description => "User to run Kibana server as",
:type => "string"
attribute "hopslog/group",
:description => "Group to run Kibana server as",
:type => "string"
attribute "logstash/url",
:description => "Url to hopslog binaries",
:type => "string"
attribute "logstash/version",
:description => "Version of logstash to use",
:type => "string"
attribute "kibana/url",
:description => "Url to hopslog binaries",
:type => "string"
attribute "hopslog/dir",
:description => "Parent directory to install logstash and kibana in (/srv is default)",
:type => "string"
attribute "logstash/pid_file",
:description => "Change the location for the pid_file.",
:type => "string"
attribute "filebeat/url",
:description => "Url to filebeat binaries",
:type => "string"
attribute "filebeat/version",
:description => "Filebeat version",
:type => "string"
attribute "filebeat/read_logs",
:description => "Path to log files read by filebeat (e.g., /srv/hops/domain1/logs/*.log)",
:type => "string"
##
##
## tensorflow
##
##
attribute "tensorflow/user",
:description => "user parameter value",
:type => "string"
attribute "tensorflow/group",
:description => "group parameter value",
:type => "string"
attribute "tensorflow/dir",
:description => "Base installation directory",
:type => "string"
attribute "download_url",
:description => "url for binaries",
:type => "string"
attribute "tensorflow/git_url",
:description => "url for git sourcecode for tensorflow",
:type => "string"
attribute "cuda/accept_nvidia_download_terms",
:description => "Accept cuda licensing terms and conditions. Default: 'false'. Change to 'true' to enable cuda.",
:type => "string"
##
##
## hops
##
##
attribute "hops/dir",
:description => "Base installation directory for HopsFS",
:type => 'string'
attribute "hops/use_hopsworks",
:description => "'true' or 'false' - true to enable HopsWorks support",
:type => 'string'
attribute "hops/erasure_coding",
:description => "'true' or 'false' - true to enable erasure-coding replication",
:type => 'string'
attribute "hops/nn/cache",
:description => "'true' or 'false' - true to enable the path cache in the NameNode",
:type => 'string'
attribute "hops/nn/partition_key",
:description => "'true' or 'false' - true to enable the partition key when starting transactions. Distribution-aware transactions.",
:type => 'string'
attribute "hops/yarn/resource_tracker",
:description => "Hadoop Resource Tracker enabled on this nodegroup",
:type => 'string'
attribute "hops/install_db",
:description => "Install hops database and tables in MySQL Cluster ('true' (default) or 'false')",
:type => 'string'
attribute "hops/use_systemd",
:description => "Use systemd startup scripts, default 'false'",
:type => "string"
attribute "hops/format",
:description => "Format HDFS",
:type => 'string'
attribute "hops/nm/log_dir",
:description => "The directory in which yarn node manager store containers logs",
:type => 'string'
attribute "hops/yarn/memory_mbs",
:description => "Apache_Hadoop NodeManager Memory in MB",
:type => 'string'
attribute "hops/yarn/nodemanager_ha_enabled",
:description => "",
:type => "string"
attribute "hops/yarn/nodemanager_auto_failover_enabled",
:description => "",
:type => "string"
attribute "hops/yarn/nodemanager_recovery_enabled",
:description => "",
:type => "string"
attribute "hops/yarn/rm_heartbeat",
:description => "",
:type => "string"
attribute "hops/yarn/nodemanager_rpc_batch_max_size",
:description => "",
:type => "string"
attribute "hops/yarn/nodemanager_rpc_batch_max_duration",
:description => "",
:type => "string"
attribute "hops/yarn/rm_distributed",
:description => "Set to 'true' to enable distributed RMs",
:type => "string"
attribute "hops/yarn/nodemanager_rm_streaming_enabled",
:description => "",
:type => "string"
attribute "hops/yarn/client_failover_sleep_base_ms",
:description => "",
:type => "string"
attribute "hops/yarn/client_failover_sleep_max_ms",
:description => "",
:type => "string"
attribute "hops/yarn/quota_enabled",
:description => "",
:type => "string"
attribute "hops/yarn/quota_monitor_interval",
:description => "",
:type => "string"
attribute "hops/yarn/quota_ticks_per_credit",
:description => "",
:type => "string"
attribute "hops/yarn/quota_min_ticks_charge",
:description => "",
:type => "string"
attribute "hops/yarn/quota_checkpoint_nbticks",
:description => "",
:type => "string"
attribute "hops/trash/interval",
:description => "How long in minutes trash survives in /user/<glassfish>/.Trash/<interval-bucket>/...",
:type => "string"
attribute "hops/trash/checkpoint/interval",
:description => "How long in minutes until a new directory bucket is created in /user/<glassfish>/.Trash with a timestamp. ",
:type => "string"
attribute "hops/nn/private_ips",
:description => "Set ip addresses",
:type => "array"
attribute "hops/rm/private_ips",
:description => "Set ip addresses",
:type => "array"
# Needed to find the jar file for yan-spark-shuffle
attribute "hadoop_spark/version",
:description => "Spark version",
:type => 'string'
attribute "hops/yarn/vcores",
:description => "Hops NodeManager Number of Virtual Cores",
:type => 'string'
attribute "hops/yarn/max_vcores",
:description => "Hadoop NodeManager Maximum Virtual Cores per container",
:type => 'string'
attribute "hops/version",
:description => "Version of hops",
:type => 'string'
attribute "hops/num_replicas",
:description => "Number of replicates for each file stored in HDFS",
:type => 'string'
attribute "hops/container_cleanup_delay_sec",
:description => "The number of seconds container data is retained after termination",
:type => 'string'
attribute "hops/group",
:description => "Group to run hdfs/yarn/mr as",
:type => 'string'
attribute "hops/yarn/user",
:description => "Username to run yarn as",
:type => 'string'
attribute "hops/mr/user",
:description => "Username to run mapReduce as",
:type => 'string'
attribute "hops/hdfs/user",
:description => "Username to run hdfs as",
:type => 'string'
attribute "hops/hdfs/superuser_group",
:description => "Group for users with hdfs superuser privileges",
:type => 'string'
attribute "hops/hdfs/blocksize",
:description => "HDFS Blocksize (128k, 512m, 1g, etc). Default 128m.",
:type => 'string'
attribute "hops/format",
:description => "Format HDFS, Run 'hdfs namenode -format",
:type => 'string'
attribute "hops/tmp_dir",
:description => "The directory in which Hadoop stores temporary data, including container data",
:type => 'string'
attribute "hops/nn/name_dir",
:description => "Directory for NameNode's state",
:type => 'string'
attribute "hops/dn/data_dir",
:description => "The directory in which Hadoop's DataNodes store their data",
:type => 'string'
attribute "hops/yarn/nodemanager_hb_ms",
:description => "Heartbeat Interval for NodeManager->ResourceManager in ms",
:type => 'string'
attribute "hops/rm/scheduler_class",
:description => "Java Classname for the Yarn scheduler (fifo, capacity, fair)",
:type => 'string'
attribute "hops/user_envs",
:description => "Update the PATH environment variable for the hdfs and yarn users to include hadoop/bin in the PATH ",
:type => 'string'
attribute "hops/logging_level",
:description => "Log levels are: TRACE, DEBUG, INFO, WARN",
:type => 'string'
attribute "hops/nn/heap_size",
:description => "Size of the NameNode heap in MBs",
:type => 'string'
attribute "hops/nn/direct_memory_size",
:description => "Size of the direct memory size for the NameNode in MBs",
:type => 'string'
attribute "hops/yarn/aux_services",
:description => "mapreduce_shuffle, spark_shuffle",
:type => "string"
attribute "hops/capacity/max_ap",
:description => "Maximum number of applications that can be pending and running.",
:type => "string"
attribute "hops/capacity/max_am_percent",
:description => "Maximum percent of resources in the cluster which can be used to run application masters i.e. controls number of concurrent running applications.",
:type => "string"
attribute "hops/capacity/resource_calculator_class",
:description => "The ResourceCalculator implementation to be used to compare Resources in the scheduler. The default i.e. DefaultResourceCalculator only uses Memory while DominantResourceCalculator uses dominant-resource to compare multi-dimensional resources such as Memory, CPU etc.",
:type => "string"
attribute "hops/capacity/root_queues",
:description => "The queues at the root level (root is the root queue).",
:type => "string"
attribute "hops/capacity/default_capacity",
:description => "Default queue target capacity.",
:type => "string"
attribute "hops/capacity/user_limit_factor",
:description => " Default queue user limit a percentage from 0.0 to 1.0.",
:type => "string"
attribute "hops/capacity/default_max_capacity",
:description => "The maximum capacity of the default queue.",
:type => "string"
attribute "hops/capacity/default_state",
:description => "The state of the default queue. State can be one of RUNNING or STOPPED.",
:type => "string"
attribute "hops/capacity/default_acl_submit_applications",
:description => "The ACL of who can submit jobs to the default queue.",
:type => "string"
attribute "hops/capacity/default_acl_administer_queue",
:description => "The ACL of who can administer jobs on the default queue.",
:type => "string"
attribute "hops/capacity/queue_mapping",
:description => "A list of mappings that will be used to assign jobs to queues The syntax for this list is [u|g]:[name]:[queue_name][,next mapping]* Typically this list will be used to map users to queues, for example, u:%user:%user maps all users to queues with the same name as the user.",
:type => "string"
attribute "hops/capacity/queue_mapping_override.enable",
:description => "If a queue mapping is present, will it override the value specified by the user? This can be used by administrators to place jobs in queues that are different than the one specified by the user. The default is false.",
:type => "string"
attribute "hops/cgroups",
:description => "'true' to enable cgroups, else (default) 'false'",
:type => "string"
attribute "hops/rpc/ssl",
:description => "'true' to enable ssl, 'false' to disable 'ssl'",
:type => "string"
##
##
## Kafka
##
##
attribute "kkafka/default/private_ips",
:description => "Set ip addresses",
:type => "array"
attribute "kkafka/user",
:description => "User to install kafka as",
:type => 'string'
attribute "kkafka/group",
:description => "Group to install kafka as",
:type => 'string'
attribute "kkafka/dir",
:description => "Base directory to install kafka (default: /opt)",
:type => 'string'
attribute "kafka/ulimit",
:description => "ULimit for the max number of open files allowed",
:type => 'string'
attribute "kkafka/offset_monitor/port",
:description => "Port for Kafka monitor service",
:type => 'string'
attribute "kkafka/memory_mb",
:description => "Kafka server memory in mbs",
:type => 'string'
attribute "kkafka/broker/zookeeper_connection_timeout_ms",
:description => "",
:type => 'string'
attribute "kkafka/broker/log/retention/hours",
:description => "",
:type => 'string'
attribute "kkafka/broker/log/retention/size",