-
Notifications
You must be signed in to change notification settings - Fork 32
/
metadata.rb
executable file
·1098 lines (837 loc) · 42.9 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 "hops"
maintainer "Jim Dowling"
maintainer_email "[email protected]"
license "Apache v2.0"
description 'Installs/Configures the Hops distribution'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "4.0.0"
source_url "https://github.com/hopshadoop/hops-hadoop-chef"
#link:<a target='_blank' href='http://%host%:50070/'>Launch the WebUI for the NameNode</a>
recipe "hops::nn", "Installs a HopsFs NameNode"
recipe "hops::ndb", "Installs MySQL Cluster (ndb) dal driver for Hops"
recipe "hops::dn", "Installs a HopsFs DataNode"
#link:<a target='_blank' href='http://%host%:8088/'>Launch the WebUI for the ResourceManager</a>
recipe "hops::rm", "Installs a YARN ResourceManager"
recipe "hops::nm", "Installs a YARN NodeManager"
recipe "hops::jhs", "Installs a MapReduce JobHistory Server for YARN"
recipe "hops::ps", "Installs a WebProxy Server for YARN"
recipe "hops::rt", "Installs a ResourceTracker server for YARN"
recipe "hops::client", "Installs libaries and configuration files for writing HDFS and YARN progams"
recipe "hops::purge", "Removes all hops-hadoop files and dirs and ndb-dal, but doesnt drop hops db from NDB"
recipe "hops::_config", "Internal recipe for setting config values"
depends 'magic_shell', '~> 1.0.0'
depends 'sysctl', '~> 1.0.3'
depends 'kagent'
depends 'ndb'
depends 'conda'
depends 'kzookeeper'
depends 'elastic'
depends 'consul'
depends 'java'
%w{ ubuntu debian rhel centos }.each do |os|
supports os
end
attribute "hops/dir",
:description => "Base installation directory for HopsFS",
:type => 'string'
attribute "mysql/user",
:description => "Mysql server username",
:type => 'string',
:required => "required"
attribute "mysql/password",
:description => "MySql server Password",
:type => 'string',
:required => "required"
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/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 => "'true' to format HDFS, 'false' to skip formatting",
:type => 'string'
attribute "hops/reformat",
:description => "'true' to re-format HDFS, 'false' to skip re-formatting",
:type => 'string'
attribute "hops/yarn/memory_mbs",
:description => "Apache_Hadoop NodeManager Memory in MB",
:type => 'string'
attribute "hops/yarn/max_allocation_memory_mb",
:description => "The maximum allocation for every container request at the RM, in MBs",
:type => 'string'
attribute "hops/yarn/min_allocation_memory_mb",
:description => "Min ammount of Memory in MB that can be allocated to a container",
:type => 'string'
attribute "hops/yarn/nodemanager_recovery_dir",
:description => "The directory in which yarn node manager stores recovery state",
:type => 'string'
attribute "hops/yarn/resourcemanager_ha_enabled",
:description => "",
:type => "string"
attribute "hops/yarn/resourcemanager_auto_failover_enabled",
:description => "",
:type => "string"
attribute "hops/yarn/resourcemanager_recovery_enabled",
:description => "",
:type => "string"
attribute "hops/yarn/resourcemanager_recovery_supervised",
:description => "",
:type => "string"
attribute "hops/yarn/nodemanager_recovery_enabled",
:description => "",
:type => "string"
attribute "hops/yarn/rm_heartbeat",
:description => "",
:type => "string"
attribute "hops/yarn/quota/enabled",
:description => "enable the yarn quota system",
:type => "string"
attribute "hops/yarn/quota/price/base_general",
:description => "price per unit of general resource per second",
:type => "string"
attribute "hops/yarn/quota/price/base_general",
:description => "price per unit of gpu per second",
:type => "string"
attribute "hops/yarn/quota/min_runtime",
:description => "minimum ammount of time a container is charged for, a container running for less than this time will stil be charged for this ammount of time",
:type => "string"
attribute "hops/yarn/quota/price/mb_unit",
:description => "ammoung of MB in a unit of memory for computation of the price",
:type => "string"
attribute "hops/yarn/quota/prive/gpu_unit",
:description => "number of gpu in a unit of gpu for computation of the price",
:type => "string"
attribute "hops/yarn/quota/period",
:description => "period at which the quota system comput containers resource utilisation",
:type => "string"
attribute "hops/yarn/quota/price/variable",
:description => "enable variable pricing system",
:type => "string"
attribute "hops/yarn/quota/price/variable_interval",
:description => "period at which to reevaluate the variable price",
:type => "string"
attribute "hops/yarn/quota/price/multiplicator_threshold_general",
:description => "threshold of cluster general resource utilisation above wich to start increase the price",
:type => "string"
attribute "hops/yarn/quota/price/multiplicator_threshold_gpu",
:description => "threshold of cluster gpu utilisation above which to start increase the price",
:type => "string"
attribute "hops/yarn/quota/price/multiplicator_general",
:description => "multiplicator by wich to increase the price for general resources",
:type => "string"
attribute "hops/yarn/quota/price/multiplicator_gpu",
:description => "multiplicator by which to increase the price for gpu resources",
:type => "string"
attribute "hops/yarn/quota/poolsize",
:description => "size of the threadpool to handle quota updates",
:type => "string"
attribute "hops/yarn/nm_heapsize_mbs",
:description => "Increase this value if using the YARN external shuffle service. (default: 1000)",
:type => 'string'
attribute "hops/yarn/rm_heapsize_mbs",
:description => "Resource manager heapsize. (default: 1000)",
:type => 'string'
attribute "hops/yarn/container_executor",
:description => "Container executor class",
: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"
attribute "hops/jhs/root_dir",
:description => "Root directory in HDFS for MapReduce History Server",
:type => "string"
# Needed to find the jar file for yan-spark-shuffle
attribute "hadoop_spark/version",
:description => "Spark version",
:type => 'string'
attribute "hops/root_url",
:description => "Download url of hops distribution artifacts",
:type => 'string'
attribute "hops/dist_url",
:description => "Download url for Hops binaries",
:type => 'string'
attribute "hops/server/threadpool",
:description => "Number of threads in RPC server reading from socket",
:type => 'string'
attribute "hops/clusterj/max_sessions",
:description => "Number of preallocated ClusterJ session objects. This should be atleast as high as max mumber of threads on NN that access the database.",
:type => 'string'
attribute "hops/clusterj/session_max_reuse_count",
:description => "Reuse count for ClusterJ session object. After this the session is restarted to release the native memeory held by the session object. New session creation can be expensive taking more than a sec.",
:type => 'string'
attribute "hops/clusterj/enable_dto_cache",
:description => "Enable dto cache provided by ClusterJ lib",
:type => 'string'
attribute "hops/clusterj/enable_session_cache",
:description => "Enable session cache provided by ClusterJ lib",
:type => 'string'
attribute "hops/clusterj/max_cached_instances",
:description => "Max DTO objects to cache on Clusterj side",
:type => 'string'
attribute "hops/alive-watchdog/enabled",
:description => "Enable alive watchdog service, it requires an external service to poll. Default: false",
:type => 'string'
attribute "hops/alive-watchdog/interval",
:description => "Poll interval of watchdog. Default: 5s",
:type => 'string'
attribute "hops/alive-watchdog/poller-class",
:description => "Fully qualified name of the poller class. If empty, and watchdog enabled, the service will not start. Default: empty",
:type => 'string'
attribute "hops/alive-watchdog/http-poll/url",
:description => "HTTP endpoint to poll for verdict if we should be alive or not. Required if using HTTP based poller class",
:type => 'string'
attribute "hops/alive-watchdog/http-poll/truststore",
:description => "Optionally specify truststore to use in HTTP poller",
:type => 'string'
attribute "hops/alive-watchdog/http-poll/truststore-password",
:description => "Password of the truststore to use in HTTP poller",
:type => 'string'
attribute "hops/alive-watchdog/json-poll/dc-id",
:description => "Configuration of current/your own data-center used by JsonPoller",
:type => 'string'
attribute "hops/tls/enabled",
:description => "'true' will enable RPC TLS and 'false' will disable it",
:type => 'string'
attribute "hops/tls/prod",
:description => "default is 'false' (accepts untrusted certificates by default). Set to 'true' for production environments.",
:type => 'string'
attribute "hops/rmappsecurity/actor_class",
:description => "Actor class for RMAppSecurityManager to perform X.509/JWT requests to Hopsworks",
:type => 'string'
attribute "hops/rmappsecurity/x509/expiration_safety_period",
:description => "Time to substract from X509 expiration time for renewal",
:type => 'string'
attribute "hops/rmappsecurity/x509/revocation_monitor_interval",
:description => "Period to check for stale X509 certificates that should be revoked",
:type => 'string'
attribute "hops/rmappsecurity/x509/sign-path",
:description => "HTTP endpoint to submit application CSR",
:type => 'string'
attribute "hops/rmappsecurity/x509/revoke-path",
:description => "HTTP endpoint to revoke application X.509",
:type => 'string'
attribute "hops/rmappsecurity/x509/key-size",
:description => "Application X.509 key size. Default: 2048",
:type => 'string'
attribute "hops/rmappsecurity/jwt/enabled",
:description => "Enable JWT on Yarn",
:type => 'string'
attribute "hops/rmappsecurity/jwt/validity",
:description => "Validity period for JWT. Valid suffices are ms, s, m, h, d",
:type => 'string'
attribute "hops/rmappsecurity/jwt/expiration-leeway",
:description => "Expiration leeway period, Valid suffices are s, m, h, d",
:type => 'string'
attribute "hops/rmappsecurity/jwt/audience",
:description => "Comma separated list of JWT audiences",
:type => 'string'
attribute "hops/rmappsecurity/jwt/generate-path",
:description => "HTTP endpoint to generate application JWT",
:type => 'string'
attribute "hops/rmappsecurity/jwt/invalidate-path",
:description => "HTTP endpoint to invalidate application JWT",
:type => 'string'
attribute "hops/rmappsecurity/jwt/renew-path",
:description => "HTTP endpoint to renew application JWT",
:type => 'string'
attribute "hops/tls/crl_enabled",
:description => "Enable CRL validation when RPC TLS is enabled",
:type => 'string'
attribute "hops/tls/crl_fetcher_class",
:description => "Canonical name of the CRL fetcher class",
:type => 'string'
attribute "hops/tls/crl_fetch_path",
:description => "HTTP Path to fetch CA CRL",
:type => 'string'
attribute "hops/tls/crl_output_file",
:description => "Location where the CRL will be stored",
:type => 'string'
attribute "hops/tls/crl_fetcher_interval",
:description => "Interval for the CRL fetcher service, suffix can be m/h/d",
:type => 'string'
attribute "hops/encrypt_data_transfer/enabled",
:description => "Enable encryption for Data Tranfer Protocol of DataNodes",
:type => 'string'
attribute "hops/encrypt_data_transfer/algorithm",
:description => "Encryption algorithm, 3des or rc4",
:type => 'string'
attribute "hops/yarn/detect-hardware-capabilities",
:description => "Enable auto-detection of node capabilities such as memory and CPU.",
:type => 'string'
attribute "hops/yarn/logical-processors-as-cores",
:description => "Determine if logical processors should be counted as cores",
:type => 'string'
attribute "hops/yarn/pcores-vcores-multiplier",
:description => "Multiplier to determine how to convert phyiscal cores to vcores",
:type => 'string'
attribute "hops/yarn/system-reserved-memory-mb",
:description => "Amount of physical memory, in MB, that is reserved for non-YARN processes. If set to -1 it's 20% of total memory",
:type => 'string'
attribute "hops/yarn/pmem_check",
:description => "Whether physical memory limits will be enforced for containers.",
:type => 'string'
attribute "hops/yarn/vcores",
:description => "Hops NodeManager Number of Virtual Cores",
:type => 'string'
attribute "hops/yarn/min_vcores",
:description => "Hadoop NodeManager Minimum Virtual Cores per container",
:type => 'string'
attribute "hops/yarn/max_vcores",
:description => "Hadoop NodeManager Maximum Virtual Cores per container",
:type => 'string'
attribute "hops/yarn/log_retain_secs",
:description => "Default time (in seconds) to retain log files on the NodeManager",
:type => 'string'
attribute "hops/yarn/log_retain_check",
:description =>"Default time (in seconds) between checks for retained log files in HDFS.",
:type => 'string'
attribute "hops/yarn/log_roll_interval",
:description =>"Defines how often NMs wake up to upload log files. The minimum rolling-interval-seconds can be set is 3600.",
: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/yarnapp/mr as",
:type => 'string'
attribute "hops/secure_group",
:description => "Privileged group for service users",
:type => 'string'
attribute "hops/secure_group_id",
:description => "Privileged group ID. Default: 1505",
:type => 'string'
attribute "hops/hdfs/user-home",
:description => "Home directory of hdfs user",
:type => 'string'
attribute "hops/yarn/user-home",
:description => "Home directory of yarn user",
:type => 'string'
attribute "hops/rm/user",
:description => "Username of the user running ResourceManager",
:type => 'string'
attribute "hops/rm/user_id",
:description => "rmyarn user id. Default: 1508",
:type => 'string'
attribute "hops/rm/user-home",
:description => "Home directory of rm user",
:type => 'string'
attribute "hops/mr/user-home",
:description => "Home directory of mr user",
:type => 'string'
attribute "hops/yarn/user",
:description => "Username to run yarn as",
:type => 'string'
attribute "hops/yarn/user_id",
:description => "Yarn user id. Default: 1507",
:type => 'string'
attribute "hops/yarnapp/user",
:description => "Username to run yarn applications as",
:type => 'string'
attribute "hops/yarnapp/uid",
:description => "uid for the user to run yarn applications as. If you change this value you need to ensure that it match the uid in the docker image.",
:type => 'string'
attribute "hops/mr/user",
:description => "Username to run mapReduce as",
:type => 'string'
attribute "hops/mr/user_id",
:description => "MapReduce user id. Default: 1509",
:type => 'string'
attribute "hops/hdfs/user",
:description => "Username to run hdfs as",
:type => 'string'
attribute "hops/hdfs/user_id",
:description => "hdfs user id. Default: 1506",
:type => 'string'
attribute "hops/hdfs/group",
:description => "hdfs group name",
:type => 'string'
attribute "hops/hdfs/group_id",
:description => "hdfs group id. Default: 1506",
: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/hdfs/max-blocks-per-file",
:description => "Max blocks per file. Default 10240",
:type => 'string'
attribute "hops/hdfs/max-directory-items",
:description => "Max immediate descendants of a directory. Default 10240",
:type => 'string'
attribute "hops/hdfs/umask",
:description => "Set the default HDFS umask (default: 0027).",
:type => 'string'
attribute "hops/dfs/inodeid/batchsize",
:description => "Inodeid batchsize",
:type => 'string'
attribute "hops/dfs/blockid/batchsize",
:description => "blockid batchsize",
:type => 'string'
attribute "hops/dfs/processReport/batchsize",
:description => "Number of blocks processed in one processReport transaction",
:type => 'string'
attribute "hops/dfs/misreplicated/batchsize",
:description => "Number of blocks processed in one misreplicated transaction",
:type => 'string'
attribute "hops/dfs/misreplicated/noofbatches",
:description => "Misreplicated number of batches",
:type => 'string'
attribute "hops/dfs/replication/max_streams",
:description => "Hard limit for the number of highest-priority replication streams.",
:type => 'string'
attribute "hops/dfs/replication/max_streams_hard_limit",
:description => "Hard limit for all replication streams.",
:type => 'string'
attribute "hops/dfs/replication/work_multiplier_per_iteration",
:description => "Set dfs.namenode.replication.work.multiplier.per.iteration",
:type => 'string'
attribute "hops/dfs/balance/max_concurrent_moves",
:description => "Maximum number of threads for Datanode balancer pending moves",
:type => 'string'
attribute "hops/dfs/mover/retry_max_attempts",
:description => "Maximum number of retries to move a block",
:type => 'string'
attribute "hops/dfs/excluded_hosts",
:description => "Comma separated list of hosts to exclude from the HDFS cluster",
:type => 'string'
attribute "hops/fs-security-actions/actor_class",
:description => "Actor class for FsSecurityActions to fetch clients' X.509 certificates in DataNodes",
:type => 'string'
attribute "hops/fs-security-actions/x509/get-path",
:description => "HTTP endpoint to fetch clients' X.509 certificates",
: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/data_dir",
:description => "The directory in which Hadoop's main data files are stored (including hops/dn/data_dir)",
:type => 'string'
attribute "hops/dn/data_dir_permissions",
:description => "The permissions for the directory in which Hadoop's DataNodes store their data (default: 700)",
:type => 'string'
attribute "hops/dn/du_reserved",
:description => "Amount in bytes of disk space reserved for non DFS usage. (default: not set)",
:type => 'string'
attribute "hops/enable_cloud_storage",
:description => "Enable cloud storage on the DataNodes.",
:type => 'string'
attribute "hops/cloud_provider",
:description => "Name of the cloud provider. Default: AWS",
:type => 'string'
attribute "hops/aws_s3_region",
:description => "AWS S3 Region. Default is eu-west-1",
:type => 'string'
attribute "hops/aws_s3_bypass_governance_retention",
:description => "In case of Object Lock enabled (Cohesity way of implementing Versioning), add the bypass-governance-retention flag in delete objects versions requests (default: false)",
:type => 'string'
attribute "hops/cloud_bypass_disk_cache",
:description => "Bypass disk cache",
:type => 'string'
attribute "hops/cloud_cache_delete_activation_percentage",
:description => "Disk utilization percentage to start cleaning blocks from DN Cloud cache",
:type => 'string'
attribute "hops/cloud_max_upload_threads",
:description => "Max number of threads for uploading blocks to cloud",
:type => 'string'
attribute "hops/cloud_store_small_files_in_db",
:description => "Enable/Disable storing small files in NDB for CLOUD storage policy",
:type => 'string'
attribute "hops/disable_non_cloud_storage_policies",
:description => "Enable/Disable non cloud storage policies",
:type => 'string'
attribute "hops/nn/cloud_max_br_threads",
:description => "Number of threads for block reporting system for provided blocks",
:type => 'string'
attribute "hops/aws_s3_bucket",
:description => "S3 bucket used to store file system blocks",
:type => 'string'
attribute "hops/aws_endpoint",
:description => "AWS endpoint",
:type => 'string'
attribute "hops/aws_signing_region",
:description => "AWS signing region",
:type => 'string'
attribute "hops/aws_access_key_id",
:description => "AWS access key id",
:type => 'string'
attribute "hops/aws_secret_access_key",
:description => "AWS secret access key",
:type => 'string'
attribute "hops/yarn/nodemanager_hb_ms",
:description => "Heartbeat Interval for NodeManager->ResourceManager in ms",
:type => 'string'
attribute "hops/yarn/max_connect_wait",
:description => "Maximum time to wait to establish connection to ResourceManager.",
:type => 'string'
attribute "hops/rm/scheduler_class",
:description => "Java Classname for the Yarn scheduler (fifo, capacity, fair)",
:type => 'string'
attribute "hops/logging_level",
:description => "Log levels are: TRACE, DEBUG, INFO, WARN",
:type => 'string'
attribute "hops/dn/heap_size",
:description => "Default size of the hadoop DataNode heap in MBs",
: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/capacity/minimum-user-limit-percent",
:description => "Each queue enforces a limit on the percentage of resources allocated to a user at any given time, if there is demand for resources. Attribute format: root.default:VALUE-INTEGER,root.queue2:VALUE-INTEGER",
:type => "string"
attribute "kagent/enabled",
:description => "Set to 'true' to enable, 'false' to disable kagent",
:type => "string"
attribute "mysql/dir",
:description => "MySQL installation directory.",
:type => "string"
attribute "install/dir",
:description => "Set to a base directory under which we will install.",
:type => "string"
attribute "install/user",
:description => "User to install the services as",
:type => "string"
#CGroups settings
attribute "hops/yarn/groups",
:description => "",
:type => "string"
attribute "hops/yarn/linux_container_limit_users",
:description => "",
:type => "string"
attribute "hops/yarn/cgroups/cpu/enabled",
:description => "Enable CPU cgroup control. Default: true",
:type => "string"
attribute "hops/yarn/cgroups/memory/enabled",
:description => "Enable memory cgroup control. Default: true",
:type => "string"
attribute "hops/yarn/cgroups_deletion_timeout",
:description => "timeout in ms for deleting Cgroups",
:type => "string"
attribute "hops/yarn/cgroups_max_cpu_usage",
:description => "max accumulated CPU usage of containers",
:type => "string"
attribute "hops/yarn/cgroups_strict_resource_usage",
:description => "Allows cpu usage limits to be hard or soft. When this setting is true, containers cannot use more CPU usage than allocated even if spare CPU is available.",
:type => "string"
attribute "hops/yarnapp/home_dir",
:description => "home directory for yarnapp user",
:type => "string"
attribute "livy/user",
:description => "Livy user that will be a proxy user",
:type => "string"
attribute "hopsworks/user",
:description => "Hopsworks username",
:type => "string"
attribute "hops/remotejmx/enabled",
:description => "Enable remote JMX for hops services. (Default: False)",
:type => "string"
attribute "hops/remotejmx/password",
:description => "Password for remote JMX non-admin user (Default: hadoop)",
:type => "string"
attribute "hops/remotejmx/adminPassword",
:description => "Password for remote JMX admin user (Default: hadoopAdmin)",
:type => "string"
attribute "hopsworks/default/private_ips",
:description => "Hopsworks private ip",
:type => "string"
attribute "hops/nn/private_ips_domainIds",
:description => "private_ips to LocationDomainIds for namenodes",
:type => "hash"
attribute "hops/dn/private_ips_domainIds",
:description => "private_ips to LocationDomainIds for datanodes",
:type => "hash"
attribute "hops/topology",
:description => "'true' or 'false' - true to enable the network topology. Default is false.",
:type => "string"
attribute "hops/nn/enable_retrycache",
:description => "'true' or 'false' - true to enable retryCache. Default is true.",
:type => "string"
attribute "hops/nn/retrycache_deletion_batch_size",
:description => "Max deletion batch size for expired retry cache entries.",
:type => "string"
attribute "hops/hdfs/quota_enabled",
:description => "'true' or 'false' - true to enable hdfs quota. Default is true.",
:type => "string"
attribute "hops/nn/handler_count",
:description => "Number of RPC handlers",
:type => "string"
attribute "hops/nn/root_dir_storage_policy",
:description => "Storage policy for root directory",
:type => "string"
attribute "hops/nn/replace-dn-on-failure",
:description => "When the cluster size is extremely small, e.g. 3 nodes or less, cluster administrators may want to set the 'hops/nn/root_dir_storage_policy' policy to NEVER in the default configuration file or disable this feature. Otherwise, users may experience an unusually high rate of pipeline failures since it is impossible to find new datanodes for replacement.",
:type => "string"
attribute "hops/nn/replace-dn-on-failure-policy",
:description => "This property is used only if the value of hops/nn/replace-dn-on-failure is true. Defult values are ALWAYS, NEVER, DEFAULT",
:type => "string"
attribute "hops/retry_policy_spec",
:description => "Retry policy specification. For example '4.0.0,6,60000,10' means retry 6 times with 10 sec delay and then retry 10 times with 1 min delay.",
:type => "string"
attribute "hops/retry_policy_enabled",
:description => "Enable retry upon connection failure",
:type => "string"
# Kernel tuning parameters
attribute "hops/kernel/somaxconn",
:description => "net.core.somaxconn value",
:type => "string"
attribute "hops/kernel/swappiness",
:description => "vm.swappiness value",
:type => "string"
attribute "hops/kernel/overcommit_memory",
:description => "vm.overcommit_memory value",
:type => "string"
attribute "hops/kernel/overcommit_ratio",
:description => "vm.overcommit_ratio value",
:type => "string"
attribute "hops/s3a/sse_algorithm",
:description => "Default server side encryption algorithm to use when writing to s3 buckets (default: empty)",
:type => "string"
attribute "hops/s3a/sse_key",
:description => "Default Key to use when using S3 SSE-KMS (default: empty)",
:type => "string"
attribute "hops/ndb/version",
:description => "version of ndb expected by hops, this is for development purpose and should be set to an empty string if the version expected by hops is the same as the version of ndb installed on the machine",
:type => "string"
attribute "hops/mysql/useSSL",
:description => "Use SSL when Hops connects to MySQLd",
:type => "string"
attribute "hops/adl_v1_version",
:description => "Version of the ADL v1 Hadoop connector (jar file).",
:type => "string"
attribute "hops/am/max_attempts",
:description => "max number of attempts for applications",
:type => "string"
attribute "hops/yarn/log_aggregation",
:description => "enable aggregation of application log files to HDFS",
:type => "string"
attribute "hops/gpu",
:description => "Are GPUs enabled for YARN? (on this node) Default: false",
:type => "string"
#DOCKER
attribute "hops/docker/enabled",
:description => "switch to install or not install docker (installing docker need hopsworks for certificates)",
:type => 'string'
attribute "hops/docker/group_id",
:description => "docker group id. Default: 1513",
:type => 'string'
attribute "hops/docker/storage_driver",
:description => "Docker daemon storage driver. Default: overlay2",
:type => 'string'
attribute "hops/docker/live-restore",
:description => "Docker daemon live-restore configuration. Default: true",
:type => 'string'
attribute "hops/docker/userland-proxy",
:description => "Docker daemon userland-proxy configuration. Default: false",
:type => 'string'
attribute "hops/docker_version/ubuntu",
:description => "the version of docker to use on ubuntu installation",
:type => 'string'
attribute "hops/docker_version/centos",
:description => "the version of docker to use on centos installation",
:type => 'string'
attribute "hops/docker_dir",
:description => "Path on the host machine to be used to store docker containers,imgs,logs",
:type => 'string'
attribute "hops/docker/insecure_registries",
:description => "Insecure registries to add to the /etc/docker/daemon.json (comma separated list host:port)",
:type => 'string'
attribute "hops/docker/trusted_registries",
:description => "Trusted registries to pull docker images for yarn (comma separated list host:port)",
:type => 'string'
attribute "hops/docker/mounts",
:description => "A coma separated list of folder to be mounted as read only in the yarn docker containers",
:type => 'string'
attribute "hops/docker/base/download_url",
:description => "the url of the base conda env docker image",
:type => 'string'
attribute "hops/cgroup-driver",
:description => "Cgroup driver",
:type => 'string'
attribute "hops/cgroup/mount-path",
:description => "Mount path for cgroup ",
:type => 'string'
attribute "hops/docker/registry/port",
:description => "the port on which the docker registry listen",
:type => 'string'
attribute "hops/docker/registry/storage",
:description => "set to s3 to store the docker images on S3 compatible storage",
:type => 'string'
attribute "hops/docker/registry/endpoint",
:description => "S3 endpoint if docker registry is configured to store images on S3",
:type => 'string'
attribute "hops/docker/registry/bucket",
:description => "S3 bucket name if docker registry is configured to store images on S3",
:type => 'string'
attribute "hops/docker/registry/region",
:description => "S3 region name if docker registry is configured to store images on S3",
:type => 'string'
attribute "hops/docker/registry/path",
:description => "S3 path if docker registry is configured to store images on S3 (default: docker-registry)",
:type => 'string'
attribute "hops/docker/registry/access_key",
:description => "S3 access_key if docker registry is configured to store images on S3 (default: docker-registry)",
:type => 'string'
attribute "hops/docker/registry/secret_key",
:description => "S3 secret_key if docker registry is configured to store images on S3 (default: docker-registry)",
:type => 'string'
attribute "hops/docker/registry/mount_volumes",
:description => "Extra volumes to mount to the Docker registry container",
:type => 'string'
attribute "hops/nn/http_port",
:description => "The namenode http server port.",
:type => 'string'
attribute "hops/dn/http_port",
:description => "The datanode http server port.",
:type => 'string'
attribute "hops/dn/port",
:description => "The datanode server port for data transfer.",
:type => 'string'
attribute "hops/dn/ipc_port",