-
Notifications
You must be signed in to change notification settings - Fork 85
/
Security_HA_3.0.1_blueprint.json
2213 lines (2213 loc) · 277 KB
/
Security_HA_3.0.1_blueprint.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
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
{
"configurations": [
{
"zoo.cfg": {
"properties_attributes": {},
"properties": {
"autopurge.purgeInterval": "24",
"dataDir": "/hadoop/zookeeper",
"autopurge.snapRetainCount": "30",
"clientPort": "2181",
"initLimit": "10",
"tickTime": "3000",
"syncLimit": "5"
}
}
},
{
"ams-hbase-site": {
"properties_attributes": {
"final": {
"hbase.zookeeper.quorum": "true"
}
},
"properties": {
"hfile.block.cache.size": "0.3",
"phoenix.query.spoolThresholdBytes": "20971520",
"hbase.zookeeper.property.dataDir": "${hbase.tmp.dir}/zookeeper",
"hbase.regionserver.thread.compaction.large": "2",
"hbase.master.port": "61300",
"zookeeper.session.timeout.localHBaseCluster": "120000",
"phoenix.query.keepAliveMs": "300000",
"hbase.local.dir": "${hbase.tmp.dir}/local",
"phoenix.query.timeoutMs": "300000",
"hbase.regionserver.thread.compaction.small": "3",
"hbase.zookeeper.quorum": "{{zookeeper_quorum_hosts}}",
"hbase.client.scanner.timeout.period": "300000",
"hbase.regionserver.info.port": "61330",
"phoenix.query.rowKeyOrderSaltedTable": "true",
"phoenix.mutate.batchSize": "10000",
"zookeeper.znode.parent": "/ams-hbase-unsecure",
"hbase.master.info.port": "61310",
"hbase.rootdir": "file:///var/lib/ambari-metrics-collector/hbase",
"hbase.cluster.distributed": "false",
"hbase.hregion.majorcompaction": "0",
"hbase.hstore.flusher.count": "2",
"hbase.master.normalizer.class": "org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer",
"hbase.snapshot.enabled": "false",
"phoenix.spool.directory": "${hbase.tmp.dir}/phoenix-spool",
"phoenix.coprocessor.maxMetaDataCacheSize": "20480000",
"hbase.zookeeper.property.tickTime": "6000",
"hbase.zookeeper.leaderport": "61388",
"phoenix.sequence.saltBuckets": "2",
"hbase.hstore.blockingStoreFiles": "200",
"zookeeper.session.timeout": "120000",
"phoenix.coprocessor.maxServerCacheTimeToLiveMs": "60000",
"hbase.master.info.bindAddress": "0.0.0.0",
"hbase.regionserver.global.memstore.lowerLimit": "0.3",
"dfs.client.read.shortcircuit": "true",
"phoenix.query.maxGlobalMemoryPercentage": "15",
"hbase.hregion.memstore.flush.size": "134217728",
"hbase.hregion.max.filesize": "4294967296",
"phoenix.groupby.maxCacheSize": "307200000",
"hbase.master.wait.on.regionservers.mintostart": "1",
"hbase.regionserver.global.memstore.upperLimit": "0.35",
"hbase.normalizer.period": "600000",
"hbase.tmp.dir": "/var/lib/ambari-metrics-collector/hbase-tmp",
"hbase.client.scanner.caching": "10000",
"hbase.replication": "false",
"hbase.unsafe.stream.capability.enforce": "false",
"hbase.rpc.timeout": "300000",
"hbase.superuser": "activity_explorer,activity_analyzer",
"hbase.zookeeper.peerport": "61288",
"hbase.regionserver.port": "61320",
"hbase.zookeeper.property.clientPort": "{{zookeeper_clientPort}}",
"hbase.hregion.memstore.block.multiplier": "4",
"hbase.normalizer.enabled": "false"
}
}
},
{
"zookeeper-log4j": {
"properties_attributes": {},
"properties": {
"zookeeper_log_max_backup_size": "10",
"zookeeper_log_number_of_backup_files": "10",
"content": "\n#\n#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied. See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n#\n#\n\n#\n# ZooKeeper Logging Configuration\n#\n\n# DEFAULT: console appender only\nlog4j.rootLogger=INFO, CONSOLE, ROLLINGFILE\n\n# Example with rolling log file\n#log4j.rootLogger=DEBUG, CONSOLE, ROLLINGFILE\n\n# Example with rolling log file and tracing\n#log4j.rootLogger=TRACE, CONSOLE, ROLLINGFILE, TRACEFILE\n\n#\n# Log INFO level and above messages to the console\n#\nlog4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender\nlog4j.appender.CONSOLE.Threshold=INFO\nlog4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout\nlog4j.appender.CONSOLE.layout.ConversionPattern=%d{ISO8601} - %-5p [%t:%C{1}@%L] - %m%n\n\n#\n# Add ROLLINGFILE to rootLogger to get log file output\n# Log DEBUG level and above messages to a log file\nlog4j.appender.ROLLINGFILE=org.apache.log4j.RollingFileAppender\nlog4j.appender.ROLLINGFILE.Threshold=DEBUG\nlog4j.appender.ROLLINGFILE.File={{zk_log_dir}}/zookeeper.log\n\n# Max log file size of 10MB\nlog4j.appender.ROLLINGFILE.MaxFileSize={{zookeeper_log_max_backup_size}}MB\n# uncomment the next line to limit number of backup files\n#log4j.appender.ROLLINGFILE.MaxBackupIndex={{zookeeper_log_number_of_backup_files}}\n\nlog4j.appender.ROLLINGFILE.layout=org.apache.log4j.PatternLayout\nlog4j.appender.ROLLINGFILE.layout.ConversionPattern=%d{ISO8601} - %-5p [%t:%C{1}@%L] - %m%n\n\n\n#\n# Add TRACEFILE to rootLogger to get log file output\n# Log DEBUG level and above messages to a log file\nlog4j.appender.TRACEFILE=org.apache.log4j.FileAppender\nlog4j.appender.TRACEFILE.Threshold=TRACE\nlog4j.appender.TRACEFILE.File=zookeeper_trace.log\n\nlog4j.appender.TRACEFILE.layout=org.apache.log4j.PatternLayout\n### Notice we are including log4j's NDC here (%x)\nlog4j.appender.TRACEFILE.layout.ConversionPattern=%d{ISO8601} - %-5p [%t:%C{1}@%L][%x] - %m%n"
}
}
},
{
"hbase-log4j": {
"properties_attributes": {},
"properties": {
"hbase_log_maxbackupindex": "20",
"hbase_security_log_maxfilesize": "256",
"hbase_log_maxfilesize": "256",
"hbase_security_log_maxbackupindex": "20",
"content": "\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\n# Define some default values that can be overridden by system properties\nhbase.root.logger=INFO,console\nhbase.security.logger=INFO,console\nhbase.log.dir=.\nhbase.log.file=hbase.log\n\n# Define the root logger to the system property \"hbase.root.logger\".\nlog4j.rootLogger=${hbase.root.logger}\n\n# Logging Threshold\nlog4j.threshold=ALL\n\n#\n# Daily Rolling File Appender\n#\nlog4j.appender.DRFA=org.apache.log4j.DailyRollingFileAppender\nlog4j.appender.DRFA.File=${hbase.log.dir}/${hbase.log.file}\n\n# Rollver at midnight\nlog4j.appender.DRFA.DatePattern=.yyyy-MM-dd\n\n# 30-day backup\n#log4j.appender.DRFA.MaxBackupIndex=30\nlog4j.appender.DRFA.layout=org.apache.log4j.PatternLayout\n\n# Pattern format: Date LogLevel LoggerName LogMessage\nlog4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n\n\n# Rolling File Appender properties\nhbase.log.maxfilesize={{hbase_log_maxfilesize}}MB\nhbase.log.maxbackupindex={{hbase_log_maxbackupindex}}\n\n# Rolling File Appender\nlog4j.appender.RFA=org.apache.log4j.RollingFileAppender\nlog4j.appender.RFA.File=${hbase.log.dir}/${hbase.log.file}\n\nlog4j.appender.RFA.MaxFileSize=${hbase.log.maxfilesize}\nlog4j.appender.RFA.MaxBackupIndex=${hbase.log.maxbackupindex}\n\nlog4j.appender.RFA.layout=org.apache.log4j.PatternLayout\nlog4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n\n\n#\n# Security audit appender\n#\nhbase.security.log.file=SecurityAuth.audit\nhbase.security.log.maxfilesize={{hbase_security_log_maxfilesize}}MB\nhbase.security.log.maxbackupindex={{hbase_security_log_maxbackupindex}}\nlog4j.appender.RFAS=org.apache.log4j.RollingFileAppender\nlog4j.appender.RFAS.File=${hbase.log.dir}/${hbase.security.log.file}\nlog4j.appender.RFAS.MaxFileSize=${hbase.security.log.maxfilesize}\nlog4j.appender.RFAS.MaxBackupIndex=${hbase.security.log.maxbackupindex}\nlog4j.appender.RFAS.layout=org.apache.log4j.PatternLayout\nlog4j.appender.RFAS.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n\nlog4j.category.SecurityLogger=${hbase.security.logger}\nlog4j.additivity.SecurityLogger=false\n#log4j.logger.SecurityLogger.org.apache.hadoop.hbase.security.access.AccessController=TRACE\n\n#\n# Null Appender\n#\nlog4j.appender.NullAppender=org.apache.log4j.varia.NullAppender\n\n#\n# console\n# Add \"console\" to rootlogger above if you want to use this\n#\nlog4j.appender.console=org.apache.log4j.ConsoleAppender\nlog4j.appender.console.target=System.err\nlog4j.appender.console.layout=org.apache.log4j.PatternLayout\nlog4j.appender.console.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n\n\n# Custom Logging levels\n\nlog4j.logger.org.apache.zookeeper=INFO\n#log4j.logger.org.apache.hadoop.fs.FSNamesystem=DEBUG\nlog4j.logger.org.apache.hadoop.hbase=INFO\n# Make these two classes INFO-level. Make them DEBUG to see more zk debug.\nlog4j.logger.org.apache.hadoop.hbase.zookeeper.ZKUtil=INFO\nlog4j.logger.org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher=INFO\n#log4j.logger.org.apache.hadoop.dfs=DEBUG\n# Set this class to log INFO only otherwise its OTT\n# Enable this to get detailed connection error/retry logging.\n# log4j.logger.org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation=TRACE\n\n\n# Uncomment this line to enable tracing on _every_ RPC call (this can be a lot of output)\n#log4j.logger.org.apache.hadoop.ipc.HBaseServer.trace=DEBUG\n\n# Uncomment the below if you want to remove logging of client region caching'\n# and scan of .META. messages\n# log4j.logger.org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation=INFO\n# log4j.logger.org.apache.hadoop.hbase.client.MetaScanner=INFO"
}
}
},
{
"pig-env": {
"properties_attributes": {},
"properties": {
"content": "\nJAVA_HOME={{java64_home}}\nHADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}\n\nif [ -d \"/usr/lib/tez\" ]; then\n PIG_OPTS=\"$PIG_OPTS -Dmapreduce.framework.name=yarn\"\nfi"
}
}
},
{
"ranger-hdfs-policymgr-ssl": {
"properties_attributes": {},
"properties": {}
}
},
{
"infra-solr-client-log4j": {
"properties_attributes": {},
"properties": {
"infra_client_log_maxfilesize": "80",
"infra_client_log_maxbackupindex": "60",
"content": "# Copyright 2011 The Apache Software Foundation\n#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nlog4j.rootLogger=INFO,file,stdout,stderr\n\nlog4j.appender.file=org.apache.log4j.RollingFileAppender\nlog4j.appender.file.File={{solr_client_log|default('/var/log/ambari-infra-solr-client/solr-client.log')}}\nlog4j.appender.file.MaxFileSize={{solr_client_log_maxfilesize}}MB\nlog4j.appender.file.MaxBackupIndex={{solr_client_log_maxbackupindex}}\nlog4j.appender.file.layout=org.apache.log4j.PatternLayout\nlog4j.appender.file.layout.ConversionPattern=%d{DATE} %5p [%t] %c{1}:%L - %m%n\n\nlog4j.appender.stdout=org.apache.log4j.ConsoleAppender\nlog4j.appender.stdout.Threshold=INFO\nlog4j.appender.stdout.Target=System.out\nlog4j.appender.stdout.layout=org.apache.log4j.PatternLayout\nlog4j.appender.stdout.layout.ConversionPattern=%m%n\nlog4j.appender.stdout.filter.lvlRangeFilter=org.apache.log4j.varia.LevelRangeFilter\nlog4j.appender.stdout.filter.lvlRangeFilter.LevelMax=WARN\n\nlog4j.appender.stderr=org.apache.log4j.ConsoleAppender\nlog4j.appender.stderr.Threshold=ERROR\nlog4j.appender.stderr.Target=System.err\nlog4j.appender.stderr.layout=org.apache.log4j.PatternLayout\nlog4j.appender.stderr.layout.ConversionPattern=%m%n\nlog4j.appender.stderr.filter.lvlRangeFilter=org.apache.log4j.varia.LevelRangeFilter\nlog4j.appender.stderr.filter.lvlRangeFilter.LevelMin=ERROR",
"infra_solr_client_log_dir": "/var/log/ambari-infra-solr-client"
}
}
},
{
"ranger-hbase-security": {
"properties_attributes": {},
"properties": {}
}
},
{
"hbase-site": {
"properties_attributes": {},
"properties": {
"hbase.coprocessor.master.classes": "",
"hfile.block.cache.size": "0.4",
"hbase.master.port": "16000",
"phoenix.functions.allowUserDefinedFunctions": "true",
"hbase.local.dir": "${hbase.tmp.dir}/local",
"phoenix.query.timeoutMs": "60000",
"hbase.regionserver.thread.compaction.small": "3",
"hbase.regionserver.wal.codec": "org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec",
"hbase.rpc.controllerfactory.class": "",
"hbase.client.retries.number": "35",
"hbase.hstore.compaction.max": "10",
"hbase.zookeeper.quorum": "%HOSTGROUP::host_group_1%,%HOSTGROUP::host_group_2%,%HOSTGROUP::host_group_3%",
"hbase.regionserver.info.port": "16030",
"hbase.rpc.protection": "authentication",
"zookeeper.znode.parent": "/hbase-unsecure",
"hbase.master.info.port": "16010",
"hbase.rootdir": "/apps/hbase/data",
"hbase.cluster.distributed": "true",
"hbase.hregion.majorcompaction": "604800000",
"hbase.hregion.memstore.mslab.enabled": "true",
"hbase.security.authentication": "simple",
"phoenix.rpc.index.handler.count": "10",
"hbase.security.authorization": "false",
"hbase.regionserver.executor.openregion.threads": "20",
"hbase.hstore.blockingStoreFiles": "100",
"hbase.zookeeper.useMulti": "true",
"dfs.domain.socket.path": "/var/lib/hadoop-hdfs/dn_socket",
"hbase.region.server.rpc.scheduler.factory.class": "org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory",
"zookeeper.session.timeout": "90000",
"hbase.master.info.bindAddress": "0.0.0.0",
"hbase.master.ui.readonly": "false",
"hbase.hregion.majorcompaction.jitter": "0.50",
"hbase.hregion.memstore.flush.size": "134217728",
"hbase.hregion.max.filesize": "10737418240",
"zookeeper.recovery.retry": "6",
"hbase.regionserver.global.memstore.size": "0.4",
"hbase.client.keyvalue.maxsize": "1048576",
"hbase.tmp.dir": "/tmp/hbase-${user.name}",
"hbase.client.scanner.caching": "100",
"hbase.hstore.compactionThreshold": "3",
"hbase.master.wait.on.regionservers.timeout": "30000",
"hbase.master.namespace.init.timeout": "2400000",
"hbase.rpc.timeout": "90000",
"hbase.superuser": "hbase",
"hbase.coprocessor.region.classes": "org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint",
"hbase.regionserver.handler.count": "20",
"hbase.bulkload.staging.dir": "/apps/hbase/staging",
"hbase.regionserver.port": "16020",
"hbase.zookeeper.property.clientPort": "2181",
"hbase.defaults.for.version.skip": "true",
"hbase.hregion.memstore.block.multiplier": "4"
}
}
},
{
"ranger-yarn-policymgr-ssl": {
"properties_attributes": {},
"properties": {}
}
},
{
"hive-log4j2": {
"properties_attributes": {},
"properties": {
"hive2_log_maxfilesize": "256",
"hive2_log_maxbackupindex": "30",
"content": "\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nstatus = INFO\nname = HiveLog4j2\npackages = org.apache.hadoop.hive.ql.log\n\n# list of properties\nproperty.hive.log.level = {{hive_log_level}}\nproperty.hive.root.logger = DRFA\nproperty.hive.log.dir = ${sys:java.io.tmpdir}/${sys:user.name}\nproperty.hive.log.file = hive.log\n\n# list of all appenders\nappenders = console, DRFA\n\n# console appender\nappender.console.type = Console\nappender.console.name = console\nappender.console.target = SYSTEM_ERR\nappender.console.layout.type = PatternLayout\nappender.console.layout.pattern = %d{yy/MM/dd HH:mm:ss} [%t]: %p %c{2}: %m%n\n\n# daily rolling file appender\nappender.DRFA.type = RollingFile\nappender.DRFA.name = DRFA\nappender.DRFA.fileName = ${sys:hive.log.dir}/${sys:hive.log.file}\n# Use %pid in the filePattern to append process-id@host-name to the filename if you want separate log files for different CLI session\nappender.DRFA.filePattern = ${sys:hive.log.dir}/${sys:hive.log.file}.%d{yyyy-MM-dd}_%i.gz\nappender.DRFA.layout.type = PatternLayout\nappender.DRFA.layout.pattern = %d{ISO8601} %-5p [%t]: %c{2} (%F:%M(%L)) - %m%n\nappender.DRFA.policies.type = Policies\nappender.DRFA.policies.time.type = TimeBasedTriggeringPolicy\nappender.DRFA.policies.time.interval = 1\nappender.DRFA.policies.time.modulate = true\nappender.DRFA.strategy.type = DefaultRolloverStrategy\nappender.DRFA.strategy.max = {{hive2_log_maxbackupindex}}\nappender.DRFA.policies.fsize.type = SizeBasedTriggeringPolicy\nappender.DRFA.policies.fsize.size = {{hive2_log_maxfilesize}}MB\n\n# list of all loggers\nloggers = NIOServerCnxn, ClientCnxnSocketNIO, DataNucleus, Datastore, JPOX\n\nlogger.NIOServerCnxn.name = org.apache.zookeeper.server.NIOServerCnxn\nlogger.NIOServerCnxn.level = WARN\n\nlogger.ClientCnxnSocketNIO.name = org.apache.zookeeper.ClientCnxnSocketNIO\nlogger.ClientCnxnSocketNIO.level = WARN\n\nlogger.DataNucleus.name = DataNucleus\nlogger.DataNucleus.level = ERROR\n\nlogger.Datastore.name = Datastore\nlogger.Datastore.level = ERROR\n\nlogger.JPOX.name = JPOX\nlogger.JPOX.level = ERROR\n\n# root logger\nrootLogger.level = ${sys:hive.log.level}\nrootLogger.appenderRefs = root\nrootLogger.appenderRef.root.ref = ${sys:hive.root.logger}"
}
}
},
{
"infra-solr-security-json": {
"properties_attributes": {},
"properties": {
"infra_solr_ranger_audit_service_users": "{default_ranger_audit_users}",
"infra_solr_role_logfeeder": "logfeeder_user",
"infra_solr_role_ranger_audit": "ranger_audit_user",
"infra_solr_role_logsearch": "logsearch_user",
"infra_solr_role_dev": "dev",
"infra_solr_role_ranger_admin": "ranger_admin_user",
"infra_solr_role_atlas": "atlas_user",
"content": "",
"infra_solr_security_manually_managed": "false"
}
}
},
{
"ranger-hive-policymgr-ssl": {
"properties_attributes": {},
"properties": {}
}
},
{
"ssl-server": {
"properties_attributes": {},
"properties": {
"ssl.server.truststore.location": "/etc/security/serverKeys/all.jks",
"ssl.server.truststore.reload.interval": "10000",
"ssl.server.truststore.type": "jks",
"ssl.server.keystore.location": "/etc/security/serverKeys/keystore.jks",
"ssl.server.keystore.type": "jks"
}
}
},
{
"hbase-atlas-application-properties": {
"properties_attributes": {},
"properties": {
"atlas.hook.hbase.keepAliveTime": "10",
"atlas.hook.hbase.maxThreads": "5",
"atlas.hook.hbase.minThreads": "5",
"atlas.hook.hbase.queueSize": "1000",
"atlas.hook.hbase.numRetries": "3",
"atlas.hook.hbase.synchronous": "false"
}
}
},
{
"pig-properties": {
"properties_attributes": {},
"properties": {
"content": "\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied. See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n# Pig default configuration file. All values can be overwritten by pig.properties and command line arguments.\n# see bin/pig -help\n\n# brief logging (no timestamps)\nbrief=false\n\n# debug level, INFO is default\ndebug=INFO\n\n# verbose print all log messages to screen (default to print only INFO and above to screen)\nverbose=false\n\n# exectype local|mapreduce|tez, mapreduce is default\nexectype=tez\n\n# Enable insertion of information about script into hadoop job conf\npig.script.info.enabled=true\n\n# Do not spill temp files smaller than this size (bytes)\npig.spill.size.threshold=5000000\n\n# EXPERIMENT: Activate garbage collection when spilling a file bigger than this size (bytes)\n# This should help reduce the number of files being spilled.\npig.spill.gc.activation.size=40000000\n\n# the following two parameters are to help estimate the reducer number\npig.exec.reducers.bytes.per.reducer=1000000000\npig.exec.reducers.max=999\n\n# Temporary location to store the intermediate data.\npig.temp.dir=/tmp/\n\n# Threshold for merging FRJoin fragment files\npig.files.concatenation.threshold=100\npig.optimistic.files.concatenation=false;\n\npig.disable.counter=false\n\nhcat.bin=/usr/bin/hcat"
}
}
},
{
"ranger-hive-plugin-properties": {
"properties_attributes": {},
"properties": {}
}
},
{
"ranger-yarn-security": {
"properties_attributes": {},
"properties": {}
}
},
{
"hadoop-policy": {
"properties_attributes": {},
"properties": {
"security.inter.datanode.protocol.acl": "*",
"security.refresh.usertogroups.mappings.protocol.acl": "hadoop",
"security.admin.operations.protocol.acl": "hadoop",
"security.client.datanode.protocol.acl": "*",
"security.datanode.protocol.acl": "*",
"security.inter.tracker.protocol.acl": "*",
"security.job.client.protocol.acl": "*",
"security.client.protocol.acl": "*",
"security.job.task.protocol.acl": "*",
"security.refresh.policy.protocol.acl": "hadoop",
"security.namenode.protocol.acl": "*"
}
}
},
{
"ranger-yarn-audit": {
"properties_attributes": {},
"properties": {}
}
},
{
"infra-solr-log4j": {
"properties_attributes": {},
"properties": {
"infra_log_maxbackupindex": "9",
"infra_log_maxfilesize": "10",
"content": "<!--\nLicensed to the Apache Software Foundation (ASF) under one or more\ncontributor license agreements. See the NOTICE file distributed with\nthis work for additional information regarding copyright ownership.\nThe ASF licenses this file to You under the Apache License, Version 2.0\n(the \"License\"); you may not use this file except in compliance with\nthe License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n<Configuration>\n <Appenders>\n\n <Console name=\"STDOUT\" target=\"SYSTEM_OUT\">\n <PatternLayout>\n <Pattern>\n %d{ISO8601} [%t] %-5p [%X{collection} %X{shard} %X{replica} %X{core}] %C (%F:%L) - %m%n\n </Pattern>\n </PatternLayout>\n </Console>\n\n <RollingFile\n name=\"RollingFile\"\n fileName=\"{{infra_solr_log_dir}}/solr.log\"\n filePattern=\"{{infra_solr_log_dir}}/solr.log.%i\" >\n <PatternLayout>\n <Pattern>\n %d{ISO8601} [%t] %-5p [%X{collection} %X{shard} %X{replica} %X{core}] %C (%F:%L) - %m%n\n </Pattern>\n </PatternLayout>\n <Policies>\n <OnStartupTriggeringPolicy />\n <SizeBasedTriggeringPolicy size=\"{{infra_log_maxfilesize}} MB\"/>\n </Policies>\n <DefaultRolloverStrategy max=\"{{infra_log_maxbackupindex}}\"/>\n </RollingFile>\n\n <RollingFile\n name=\"SlowFile\"\n fileName=\"{{infra_solr_log_dir}}/solr_slow_requests.log\"\n filePattern=\"{{infra_solr_log_dir}}/solr_slow_requests.log.%i\" >\n <PatternLayout>\n <Pattern>\n %d{ISO8601} [%t] %-5p [%X{collection} %X{shard} %X{replica} %X{core}] %C (%F:%L) - %m%n\n </Pattern>\n </PatternLayout>\n <Policies>\n <OnStartupTriggeringPolicy />\n <SizeBasedTriggeringPolicy size=\"{{infra_log_maxfilesize}} MB\"/>\n </Policies>\n <DefaultRolloverStrategy max=\"{{infra_log_maxbackupindex}}\"/>\n </RollingFile>\n\n </Appenders>\n <Loggers>\n <Logger name=\"org.apache.hadoop\" level=\"warn\"/>\n <Logger name=\"org.apache.solr.update.LoggingInfoStream\" level=\"off\"/>\n <Logger name=\"org.apache.zookeeper\" level=\"warn\"/>\n <Logger name=\"org.apache.solr.core.SolrCore.SlowRequest\" level=\"warn\" additivity=\"false\">\n <AppenderRef ref=\"SlowFile\"/>\n </Logger>\n\n <Root level=\"warn\">\n <AppenderRef ref=\"RollingFile\"/>\n <!-- <AppenderRef ref=\"STDOUT\"/> -->\n </Root>\n </Loggers>\n</Configuration>"
}
}
},
{
"tez-interactive-site": {
"properties_attributes": {
"final": {
"tez.runtime.shuffle.ssl.enable": "true"
}
},
"properties": {
"tez.runtime.pipelined.sorter.lazy-allocate.memory": "true",
"tez.runtime.report.partition.stats": "true",
"tez.am.client.heartbeat.timeout.secs": "90",
"tez.runtime.shuffle.connect.timeout": "30000",
"tez.runtime.enable.final-merge.in.output": "false",
"tez.am.client.heartbeat.poll.interval.millis": "6000",
"tez.container.max.java.heap.fraction": "-1",
"tez.runtime.shuffle.memory.limit.percent": "0.25",
"tez.session.am.dag.submit.timeout.secs": "1209600",
"tez.runtime.shuffle.read.timeout": "30000",
"tez.am.am-rm.heartbeat.interval-ms.max": "10000",
"tez.lib.uris": "/hdp/apps/${hdp.version}/tez/tez.tar.gz",
"tez.am.task.listener.thread-count": "1",
"tez.runtime.shuffle.fetch.buffer.percent": "0.6",
"tez.task.timeout-ms": "90000",
"tez.am.node-blacklisting.enabled": "false",
"tez.history.logging.taskattempt-filters": "SERVICE_BUSY,EXTERNAL_PREEMPTION",
"tez.am.task.reschedule.higher.priority": "false",
"tez.runtime.unordered.output.buffer.size-mb": "100",
"tez.runtime.pipelined-shuffle.enabled": "false",
"tez.runtime.shuffle.fetch.verify-disk-checksum": "false",
"tez.runtime.shuffle.parallel.copies": "8",
"tez.runtime.shuffle.ssl.enable": "false",
"tez.dag.recovery.enabled": "false",
"tez.history.logging.log.level": "TASK_ATTEMPT",
"tez.task.heartbeat.timeout.check-ms": "15000",
"tez.am.resource.memory.mb": "1536",
"tez.history.logging.timeline.num-dags-per-group": "5",
"tez.grouping.node.local.only": "true",
"tez.runtime.io.sort.mb": "512",
"tez.runtime.shuffle.keep-alive.enabled": "true"
}
}
},
{
"container-executor": {
"properties_attributes": {},
"properties": {
"docker_trusted_registries": "",
"cgroup_root": "",
"docker_binary": "/usr/bin/docker",
"docker_privileged-containers_enabled": "false",
"docker_allowed_ro-mounts": "",
"docker_allowed_rw-mounts": "",
"content": "{#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#}\n\n#/*\n# * Licensed to the Apache Software Foundation (ASF) under one\n# * or more contributor license agreements. See the NOTICE file\n# * distributed with this work for additional information\n# * regarding copyright ownership. The ASF licenses this file\n# * to you under the Apache License, Version 2.0 (the\n# * \"License\"); you may not use this file except in compliance\n# * with the License. You may obtain a copy of the License at\n# *\n# * http://www.apache.org/licenses/LICENSE-2.0\n# *\n# * Unless required by applicable law or agreed to in writing, software\n# * distributed under the License is distributed on an \"AS IS\" BASIS,\n# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# * See the License for the specific language governing permissions and\n# * limitations under the License.\n# */\nyarn.nodemanager.local-dirs={{nm_local_dirs}}\nyarn.nodemanager.log-dirs={{nm_log_dirs}}\nyarn.nodemanager.linux-container-executor.group={{yarn_executor_container_group}}\nbanned.users=hdfs,yarn,mapred,bin\nmin.user.id={{min_user_id}}\n\n{{ '[docker]' }}\n module.enabled={{docker_module_enabled}}\n docker.binary={{docker_binary}}\n docker.allowed.capabilities={{docker_allowed_capabilities}}\n docker.allowed.devices={{docker_allowed_devices}}\n docker.allowed.networks={{docker_allowed_networks}}\n docker.allowed.ro-mounts={{nm_local_dirs}},{{docker_allowed_ro_mounts}}\n docker.allowed.rw-mounts={{nm_local_dirs}},{{nm_log_dirs}},{{docker_allowed_rw_mounts}}\n docker.privileged-containers.enabled={{docker_privileged_containers_enabled}}\n docker.trusted.registries={{docker_trusted_registries}}\n docker.allowed.volume-drivers={{docker_allowed_volume_drivers}}\n\n{{ '[gpu]' }}\n module.enabled={{gpu_module_enabled}}\n\n{{ '[cgroups]' }}\n root={{cgroup_root}}\n yarn-hierarchy={{yarn_hierarchy}}",
"min_user_id": "1000",
"yarn_hierarchy": "",
"docker_allowed_volume-drivers": "",
"docker_allowed_devices": "",
"gpu_module_enabled": "false",
"docker_module_enabled": "false"
}
}
},
{
"core-site": {
"properties_attributes": {
"final": {
"fs.defaultFS": "true"
}
},
"properties": {
"fs.defaultFS": "hdfs://SecurityTrainingNS",
"fs.s3a.multipart.size": "67108864",
"hadoop.http.cross-origin.allowed-methods": "GET,PUT,POST,OPTIONS,HEAD,DELETE",
"ipc.server.tcpnodelay": "true",
"hadoop.http.cross-origin.allowed-origins": "*",
"mapreduce.jobtracker.webinterface.trusted": "false",
"hadoop.http.cross-origin.max-age": "1800",
"hadoop.proxyuser.root.groups": "*",
"ipc.client.idlethreshold": "8000",
"hadoop.proxyuser.hdfs.groups": "*",
"fs.s3a.fast.upload": "true",
"fs.trash.interval": "360",
"hadoop.http.authentication.simple.anonymous.allowed": "true",
"hadoop.security.authorization": "false",
"ipc.client.connection.maxidletime": "30000",
"hadoop.proxyuser.hive.hosts": "%HOSTGROUP::host_group_3%,%HOSTGROUP::host_group_4%",
"hadoop.proxyuser.root.hosts": "ip-172-30-10-150.us-west-2.compute.internal",
"ha.failover-controller.active-standby-elector.zk.op.retries": "120",
"hadoop.http.cross-origin.allowed-headers": "X-Requested-With,Content-Type,Accept,Origin,WWW-Authenticate,Accept-Encoding,Transfer-Encoding",
"hadoop.security.authentication": "simple",
"fs.s3a.fast.upload.buffer": "disk",
"hadoop.proxyuser.hdfs.hosts": "*",
"fs.azure.user.agent.prefix": "User-Agent: APN/1.0 Hortonworks/1.0 HDP/{{version}}",
"hadoop.security.instrumentation.requires.admin": "false",
"ipc.client.connect.max.retries": "50",
"io.file.buffer.size": "131072",
"fs.s3a.user.agent.prefix": "User-Agent: APN/1.0 Hortonworks/1.0 HDP/{{version}}",
"net.topology.script.file.name": "/etc/hadoop/conf/topology_script.py",
"io.compression.codecs": "org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.SnappyCodec",
"hadoop.proxyuser.hive.groups": "*",
"hadoop.proxyuser.yarn.hosts": "%HOSTGROUP::host_group_1%,%HOSTGROUP::host_group_2%",
"ha.zookeeper.quorum": "%HOSTGROUP::host_group_1%:2181,%HOSTGROUP::host_group_2%:2181,%HOSTGROUP::host_group_3%:2181",
"hadoop.http.filter.initializers": "org.apache.hadoop.security.AuthenticationFilterInitializer,org.apache.hadoop.security.HttpCrossOriginFilterInitializer",
"io.serializations": "org.apache.hadoop.io.serializer.WritableSerialization"
}
}
},
{
"yarn-hbase-log4j": {
"properties_attributes": {},
"properties": {
"hbase_log_maxbackupindex": "20",
"hbase_security_log_maxfilesize": "256",
"hbase_log_maxfilesize": "256",
"hbase_security_log_maxbackupindex": "20",
"content": "\n # Licensed to the Apache Software Foundation (ASF) under one\n # or more contributor license agreements. See the NOTICE file\n # distributed with this work for additional information\n # regarding copyright ownership. The ASF licenses this file\n # to you under the Apache License, Version 2.0 (the\n # \"License\"); you may not use this file except in compliance\n # with the License. You may obtain a copy of the License at\n #\n # http://www.apache.org/licenses/LICENSE-2.0\n #\n # Unless required by applicable law or agreed to in writing, software\n # distributed under the License is distributed on an \"AS IS\" BASIS,\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n\n\n # Define some default values that can be overridden by system properties\n hbase.root.logger=INFO,console\n hbase.security.logger=INFO,console\n hbase.log.dir=.\n hbase.log.file=hbase.log\n\n # Define the root logger to the system property \"hbase.root.logger\".\n log4j.rootLogger=${hbase.root.logger}\n\n # Logging Threshold\n log4j.threshold=ALL\n\n #\n # Daily Rolling File Appender\n #\n log4j.appender.DRFA=org.apache.log4j.DailyRollingFileAppender\n log4j.appender.DRFA.File=${hbase.log.dir}/${hbase.log.file}\n\n # Rollver at midnight\n log4j.appender.DRFA.DatePattern=.yyyy-MM-dd\n\n # 30-day backup\n #log4j.appender.DRFA.MaxBackupIndex=30\n log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout\n\n # Pattern format: Date LogLevel LoggerName LogMessage\n log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n\n\n # Rolling File Appender properties\n hbase.log.maxfilesize={{hbase_log_maxfilesize}}MB\n hbase.log.maxbackupindex={{hbase_log_maxbackupindex}}\n\n # Rolling File Appender\n log4j.appender.RFA=org.apache.log4j.RollingFileAppender\n log4j.appender.RFA.File=${hbase.log.dir}/${hbase.log.file}\n\n log4j.appender.RFA.MaxFileSize=${hbase.log.maxfilesize}\n log4j.appender.RFA.MaxBackupIndex=${hbase.log.maxbackupindex}\n\n log4j.appender.RFA.layout=org.apache.log4j.PatternLayout\n log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n\n\n #\n # Security audit appender\n #\n hbase.security.log.file=SecurityAuth.audit\n hbase.security.log.maxfilesize={{hbase_security_log_maxfilesize}}MB\n hbase.security.log.maxbackupindex={{hbase_security_log_maxbackupindex}}\n log4j.appender.RFAS=org.apache.log4j.RollingFileAppender\n log4j.appender.RFAS.File=${hbase.log.dir}/${hbase.security.log.file}\n log4j.appender.RFAS.MaxFileSize=${hbase.security.log.maxfilesize}\n log4j.appender.RFAS.MaxBackupIndex=${hbase.security.log.maxbackupindex}\n log4j.appender.RFAS.layout=org.apache.log4j.PatternLayout\n log4j.appender.RFAS.layout.ConversionPattern=%d{ISO8601} %p %c: %m%n\n log4j.category.SecurityLogger=${hbase.security.logger}\n log4j.additivity.SecurityLogger=false\n #log4j.logger.SecurityLogger.org.apache.hadoop.hbase.security.access.AccessController=TRACE\n\n #\n # Null Appender\n #\n log4j.appender.NullAppender=org.apache.log4j.varia.NullAppender\n\n #\n # console\n # Add \"console\" to rootlogger above if you want to use this\n #\n log4j.appender.console=org.apache.log4j.ConsoleAppender\n log4j.appender.console.target=System.err\n log4j.appender.console.layout=org.apache.log4j.PatternLayout\n log4j.appender.console.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n\n\n # Custom Logging levels\n\n log4j.logger.org.apache.zookeeper=INFO\n #log4j.logger.org.apache.hadoop.fs.FSNamesystem=DEBUG\n log4j.logger.org.apache.hadoop.hbase=INFO\n # Make these two classes INFO-level. Make them DEBUG to see more zk debug.\n log4j.logger.org.apache.hadoop.hbase.zookeeper.ZKUtil=INFO\n log4j.logger.org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher=INFO\n #log4j.logger.org.apache.hadoop.dfs=DEBUG\n # Set this class to log INFO only otherwise its OTT\n # Enable this to get detailed connection error/retry logging.\n # log4j.logger.org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation=TRACE\n\n\n # Uncomment this line to enable tracing on _every_ RPC call (this can be a lot of output)\n #log4j.logger.org.apache.hadoop.ipc.HBaseServer.trace=DEBUG\n\n # Uncomment the below if you want to remove logging of client region caching'\n # and scan of .META. messages\n # log4j.logger.org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation=INFO\n # log4j.logger.org.apache.hadoop.hbase.client.MetaScanner=INFO"
}
}
},
{
"hdfs-site": {
"properties_attributes": {
"final": {
"dfs.webhdfs.enabled": "true",
"dfs.namenode.http-address": "true",
"dfs.namenode.name.dir": "true",
"dfs.datanode.failed.volumes.tolerated": "true",
"dfs.datanode.data.dir": "true"
}
},
"properties": {
"dfs.namenode.http-address.SecurityTrainingNS.nn1": "%HOSTGROUP::host_group_1%:50070",
"dfs.namenode.http-address.SecurityTrainingNS.nn2": "%HOSTGROUP::host_group_2%:50070",
"dfs.replication": "3",
"dfs.namenode.audit.log.async": "true",
"dfs.nameservices": "SecurityTrainingNS",
"dfs.ha.namenodes.SecurityTrainingNS": "nn1,nn2",
"dfs.namenode.checkpoint.dir": "/hadoop/hdfs/namesecondary",
"dfs.namenode.avoid.read.stale.datanode": "true",
"manage.include.files": "false",
"dfs.journalnode.http-address": "0.0.0.0:8480",
"nfs.file.dump.dir": "/tmp/.hdfs-nfs",
"dfs.internal.nameservices": "SecurityTrainingNS",
"dfs.encrypt.data.transfer.cipher.suites": "AES/CTR/NoPadding",
"dfs.client.failover.proxy.provider.SecurityTrainingNS": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider",
"dfs.client.read.shortcircuit.streams.cache.size": "4096",
"dfs.hosts.exclude": "/etc/hadoop/conf/dfs.exclude",
"dfs.namenode.acls.enabled": "true",
"dfs.namenode.accesstime.precision": "0",
"dfs.namenode.fslock.fair": "false",
"dfs.permissions.enabled": "true",
"dfs.datanode.balance.bandwidthPerSec": "6250000",
"dfs.namenode.stale.datanode.interval": "30000",
"dfs.namenode.https-address.SecurityTrainingNS.nn1": "%HOSTGROUP::host_group_1%:50470",
"dfs.namenode.https-address.SecurityTrainingNS.nn2": "%HOSTGROUP::host_group_2%:50470",
"dfs.content-summary.limit": "5000",
"dfs.http.policy": "HTTP_ONLY",
"dfs.ha.fencing.methods": "shell(/bin/true)",
"dfs.journalnode.https-address": "0.0.0.0:8481",
"dfs.datanode.du.reserved": "10735973888",
"dfs.domain.socket.path": "/var/lib/hadoop-hdfs/dn_socket",
"dfs.datanode.ipc.address": "0.0.0.0:8010",
"dfs.cluster.administrators": " hdfs",
"dfs.datanode.max.transfer.threads": "16384",
"dfs.namenode.handler.count": "50",
"dfs.https.port": "50470",
"dfs.namenode.rpc-address.SecurityTrainingNS.nn2": "%HOSTGROUP::host_group_2%:8020",
"dfs.namenode.rpc-address.SecurityTrainingNS.nn1": "%HOSTGROUP::host_group_1%:8020",
"dfs.replication.max": "50",
"dfs.client.read.shortcircuit": "true",
"dfs.webhdfs.enabled": "true",
"dfs.namenode.name.dir": "/hadoop/hdfs/namenode",
"dfs.namenode.avoid.write.stale.datanode": "true",
"dfs.datanode.https.address": "0.0.0.0:50475",
"dfs.datanode.failed.volumes.tolerated": "0",
"dfs.client.retry.policy.enabled": "false",
"hadoop.caller.context.enabled": "true",
"dfs.namenode.startup.delay.block.deletion.sec": "3600",
"dfs.block.access.token.enable": "true",
"dfs.datanode.data.dir": "/hadoop/hdfs/data",
"dfs.permissions.superusergroup": "hdfs",
"dfs.blocksize": "134217728",
"dfs.namenode.shared.edits.dir": "qjournal://%HOSTGROUP::host_group_2%:8485;%HOSTGROUP::host_group_1%:8485;%HOSTGROUP::host_group_3%:8485/SecurityTrainingNS",
"dfs.namenode.checkpoint.edits.dir": "${dfs.namenode.checkpoint.dir}",
"nfs.exports.allowed.hosts": "* rw",
"dfs.datanode.address": "0.0.0.0:50010",
"dfs.blockreport.initialDelay": "120",
"dfs.datanode.data.dir.perm": "750",
"dfs.namenode.write.stale.datanode.ratio": "1.0f",
"dfs.namenode.name.dir.restore": "true",
"dfs.heartbeat.interval": "3",
"dfs.namenode.checkpoint.txns": "1000000",
"dfs.journalnode.edits.dir": "/hadoop/hdfs/journal",
"fs.permissions.umask-mode": "022",
"dfs.namenode.safemode.threshold-pct": "0.99f",
"dfs.namenode.checkpoint.period": "21600",
"dfs.datanode.http.address": "0.0.0.0:50075",
"dfs.ha.automatic-failover.enabled": "true"
}
}
},
{
"yarn-site": {
"properties_attributes": {
"hidden": {
"hadoop.registry.dns.bind-port": "true"
}
},
"properties": {
"yarn.nodemanager.resource-plugins.gpu.path-to-discovery-executables": "",
"yarn.resourcemanager.zk-address": "%HOSTGROUP::host_group_2%:2181,%HOSTGROUP::host_group_1%:2181,%HOSTGROUP::host_group_3%:2181",
"yarn.nodemanager.container-monitor.interval-ms": "3000",
"yarn.timeline-service.entity-group-fs-store.active-dir": "/ats/active/",
"hadoop.registry.dns.bind-address": "0.0.0.0",
"yarn.log.server.web-service.url": "http://%HOSTGROUP::host_group_2%:8188/ws/v1/applicationhistory",
"yarn.nodemanager.linux-container-executor.group": "hadoop",
"yarn.nodemanager.recovery.supervised": "true",
"yarn.application.classpath": "$HADOOP_CONF_DIR,{{hadoop_home}}/*,{{hadoop_home}}/lib/*,{{stack_root}}/current/hadoop-hdfs-client/*,{{stack_root}}/current/hadoop-hdfs-client/lib/*,{{stack_root}}/current/hadoop-yarn-client/*,{{stack_root}}/current/hadoop-yarn-client/lib/*",
"yarn.admin.acl": "activity_analyzer,yarn",
"yarn.timeline-service.entity-group-fs-store.cleaner-interval-seconds": "3600",
"yarn.resourcemanager.display.per-user-apps": "true",
"yarn.nodemanager.remote-app-log-dir-suffix": "logs",
"yarn.nodemanager.address": "0.0.0.0:45454",
"yarn.resourcemanager.webapp.address": "%HOSTGROUP::host_group_2%:8088",
"yarn.timeline-service.leveldb-timeline-store.ttl-interval-ms": "300000",
"yarn.nodemanager.runtime.linux.allowed-runtimes": "default,docker",
"yarn.scheduler.maximum-allocation-vcores": "1",
"yarn.timeline-service.address": "%HOSTGROUP::host_group_2%:10200",
"yarn.resourcemanager.cluster-id": "yarn-cluster",
"yarn.timeline-service.enabled": "true",
"yarn.timeline-service.http-cross-origin.enabled": "true",
"yarn.nodemanager.aux-services": "mapreduce_shuffle,spark2_shuffle,{{timeline_collector}}",
"yarn.nodemanager.resource.cpu-vcores": "1",
"yarn.system-metricspublisher.enabled": "true",
"yarn.webapp.api-service.enable": "true",
"yarn.nodemanager.runtime.linux.docker.default-container-network": "host",
"yarn.nodemanager.aux-services.timeline_collector.class": "org.apache.hadoop.yarn.server.timelineservice.collector.PerNodeTimelineCollectorsAuxService",
"yarn.resourcemanager.webapp.delegation-token-auth-filter.enabled": "false",
"yarn.nodemanager.aux-services.spark_shuffle.class": "org.apache.spark.network.yarn.YarnShuffleService",
"yarn.nodemanager.log-aggregation.debug-enabled": "false",
"yarn.resourcemanager.hostname.rm2": "%HOSTGROUP::host_group_1%",
"yarn.resourcemanager.hostname.rm1": "%HOSTGROUP::host_group_2%",
"yarn.resourcemanager.zk-acl": "world:anyone:rwcda",
"yarn.client.nodemanager-connect.max-wait-ms": "60000",
"yarn.http.policy": "HTTP_ONLY",
"yarn.timeline-service.http-authentication.simple.anonymous.allowed": "true",
"yarn.resourcemanager.webapp.address.rm2": "%HOSTGROUP::host_group_1%:8088",
"yarn.nodemanager.resource-plugins.gpu.docker-plugin.nvidiadocker-v1.endpoint": "",
"yarn.resourcemanager.webapp.address.rm1": "%HOSTGROUP::host_group_2%:8088",
"yarn.resourcemanager.zk-state-store.parent-path": "/rmstore",
"yarn.timeline-service.leveldb-timeline-store.start-time-read-cache-size": "10000",
"yarn.nodemanager.runtime.linux.docker.allowed-container-networks": "host,none,bridge",
"hadoop.registry.dns.zone-mask": "255.255.255.0",
"yarn.nodemanager.resource-plugins.gpu.docker-plugin": "",
"yarn.resourcemanager.admin.address": "%HOSTGROUP::host_group_2%:8141",
"yarn.timeline-service.generic-application-history.save-non-am-container-meta-info": "false",
"yarn.nodemanager.linux-container-executor.cgroups.strict-resource-usage": "false",
"yarn.resourcemanager.resource-tracker.address": "%HOSTGROUP::host_group_2%:8025",
"hadoop.registry.dns.zone-subnet": "172.17.0.0",
"yarn.nodemanager.delete.debug-delay-sec": "0",
"yarn.resourcemanager.fs.state-store.retry-policy-spec": "2000, 500",
"yarn.timeline-service.http-authentication.type": "simple",
"yarn.timeline-service.ttl-enable": "true",
"yarn.timeline-service.entity-group-fs-store.retain-seconds": "604800",
"yarn.log-aggregation.retain-seconds": "2592000",
"yarn.nodemanager.resource.memory-mb": "3072",
"yarn.nodemanager.disk-health-checker.min-healthy-disks": "0.25",
"yarn.node-labels.enabled": "false",
"yarn.resourcemanager.connect.max-wait.ms": "900000",
"yarn.resourcemanager.webapp.https.address.rm2": "%HOSTGROUP::host_group_1%:8090",
"yarn.resourcemanager.zk-num-retries": "1000",
"yarn.scheduler.minimum-allocation-vcores": "1",
"yarn.resourcemanager.webapp.https.address.rm1": "%HOSTGROUP::host_group_2%:8090",
"yarn.nodemanager.aux-services.spark2_shuffle.classpath": "{{stack_root}}/{{spark2_version}}/spark2/aux/*",
"yarn.nodemanager.runtime.linux.docker.privileged-containers.allowed": "false",
"yarn.resourcemanager.scheduler.class": "org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler",
"yarn.resourcemanager.system-metrics-publisher.enabled": "true",
"yarn.timeline-service.client.max-retries": "30",
"yarn.timeline-service.client.retry-interval-ms": "1000",
"yarn.timeline-service.http-authentication.proxyuser.root.hosts": "ip-172-30-10-150.us-west-2.compute.internal",
"yarn.timeline-service.store-class": "org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore",
"yarn.timeline-service.bind-host": "0.0.0.0",
"yarn.nodemanager.container-metrics.unregister-delay-ms": "60000",
"yarn.timeline-service.generic-application-history.store-class": "org.apache.hadoop.yarn.server.applicationhistoryservice.NullApplicationHistoryStore",
"yarn.resourcemanager.monitor.capacity.preemption.monitoring_interval": "15000",
"yarn.resourcemanager.fs.state-store.uri": " ",
"yarn.resourcemanager.recovery.enabled": "true",
"yarn.timeline-service.entity-group-fs-store.group-id-plugin-classpath": "",
"yarn.nodemanager.webapp.cross-origin.enabled": "true",
"yarn.resourcemanager.scheduler.address": "%HOSTGROUP::host_group_2%:8030",
"yarn.nodemanager.resource-plugins.gpu.allowed-gpu-devices": "",
"yarn.timeline-service.leveldb-timeline-store.start-time-write-cache-size": "10000",
"yarn.timeline-service.ttl-ms": "2678400000",
"yarn.nodemanager.health-checker.script.timeout-ms": "60000",
"yarn.nodemanager.aux-services.spark2_shuffle.class": "org.apache.spark.network.yarn.YarnShuffleService",
"yarn.log.server.url": "http://%HOSTGROUP::host_group_2%:19888/jobhistory/logs",
"yarn.timeline-service.entity-group-fs-store.group-id-plugin-classes": "org.apache.hadoop.yarn.applications.distributedshell.DistributedShellTimelinePlugin",
"yarn.resourcemanager.address": "%HOSTGROUP::host_group_2%:8050",
"yarn.timeline-service.recovery.enabled": "true",
"yarn.resourcemanager.ha.automatic-failover.zk-base-path": "/yarn-leader-election",
"yarn.timeline-service.reader.webapp.address": "%HOSTGROUP::host_group_2%:8198",
"yarn.nodemanager.recovery.dir": "{{yarn_log_dir_prefix}}/nodemanager/recovery-state",
"yarn.resourcemanager.scheduler.monitor.enable": "true",
"yarn.resourcemanager.webapp.cross-origin.enabled": "true",
"yarn.resourcemanager.bind-host": "0.0.0.0",
"yarn.resourcemanager.monitor.capacity.preemption.intra-queue-preemption.enabled": "true",
"yarn.webapp.ui2.enable": "true",
"yarn.nodemanager.log-aggregation.num-log-files-per-app": "30",
"hadoop.registry.dns.domain-name": "EXAMPLE.COM",
"yarn.nodemanager.admin-env": "MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX",
"yarn.resourcemanager.system-metrics-publisher.dispatcher.pool-size": "10",
"yarn.timeline-service.reader.webapp.https.address": "%HOSTGROUP::host_group_2%:8199",
"yarn.acl.enable": "false",
"manage.include.files": "false",
"yarn.resourcemanager.ha.enabled": "true",
"yarn.timeline-service.entity-group-fs-store.app-cache-size": "10",
"yarn.client.nodemanager-connect.retry-interval-ms": "10000",
"yarn.service.system-service.dir": "/services",
"yarn.timeline-service.version": "2.0f",
"yarn.timeline-service.leveldb-timeline-store.read-cache-size": "104857600",
"yarn.resourcemanager.placement-constraints.handler": "scheduler",
"yarn.resourcemanager.monitor.capacity.preemption.natural_termination_factor": "1",
"yarn.nodemanager.local-dirs": "/hadoop/yarn/local",
"yarn.timeline-service.leveldb-timeline-store.path": "/hadoop/yarn/timeline",
"yarn.nodemanager.recovery.enabled": "true",
"yarn.service.framework.path": "/hdp/apps/${hdp.version}/yarn/service-dep.tar.gz",
"yarn.resourcemanager.zk-timeout-ms": "10000",
"yarn.resourcemanager.am.max-attempts": "2",
"yarn.resourcemanager.state-store.max-completed-applications": "${yarn.resourcemanager.max-completed-applications}",
"yarn.node-labels.fs-store.root-dir": "/system/yarn/node-labels",
"yarn.node-labels.fs-store.retry-policy-spec": "2000, 500",
"yarn.nodemanager.aux-services.mapreduce_shuffle.class": "org.apache.hadoop.mapred.ShuffleHandler",
"yarn.log-aggregation-enable": "true",
"yarn.resourcemanager.work-preserving-recovery.enabled": "true",
"yarn.nodemanager.aux-services.spark_shuffle.classpath": "{{stack_root}}/${hdp.version}/spark/aux/*",
"yarn.resourcemanager.store.class": "org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore",
"yarn.timeline-service.http-authentication.proxyuser.root.groups": "*",
"yarn.timeline-service.leveldb-state-store.path": "/hadoop/yarn/timeline",
"yarn.nodemanager.log.retain-seconds": "604800",
"yarn.timeline-service.entity-group-fs-store.done-dir": "/ats/done/",
"yarn.resourcemanager.ha.rm-ids": "rm1,rm2",
"hadoop.registry.dns.enabled": "true",
"yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage": "90",
"hadoop.registry.zk.quorum": "%HOSTGROUP::host_group_1%:2181,%HOSTGROUP::host_group_2%:2181,%HOSTGROUP::host_group_3%:2181",
"yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds": "3600",
"yarn.timeline-service.hbase-schema.prefix": "prod.",
"hadoop.http.cross-origin.allowed-origins": "{{cross_origins}}",
"hadoop.registry.dns.bind-port": "53",
"yarn.nodemanager.container-executor.class": "org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor",
"yarn.resourcemanager.nodes.exclude-path": "/etc/hadoop/conf/yarn.exclude",
"yarn.nodemanager.runtime.linux.docker.privileged-containers.acl": "",
"yarn.timeline-service.state-store-class": "org.apache.hadoop.yarn.server.timeline.recovery.LeveldbTimelineStateStore",
"yarn.nodemanager.bind-host": "0.0.0.0",
"yarn.resourcemanager.hostname": "%HOSTGROUP::host_group_2%",
"yarn.nodemanager.resource-plugins": "",
"yarn.resourcemanager.monitor.capacity.preemption.total_preemption_per_round": "0.25",
"yarn.timeline-service.versions": "1.5f,2.0f",
"yarn.resourcemanager.connect.retry-interval.ms": "30000",
"yarn.timeline-service.webapp.address": "%HOSTGROUP::host_group_2%:8188",
"yarn.scheduler.minimum-allocation-mb": "1024",
"yarn.timeline-service.entity-group-fs-store.summary-store": "org.apache.hadoop.yarn.server.timeline.RollingLevelDBTimelineStore",
"yarn.nodemanager.health-checker.interval-ms": "135000",
"yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb": "1000",
"yarn.resourcemanager.zk-retry-interval-ms": "1000",
"yarn.nodemanager.runtime.linux.docker.capabilities": "\n CHOWN,DAC_OVERRIDE,FSETID,FOWNER,MKNOD,NET_RAW,SETGID,SETUID,SETFCAP,\n SETPCAP,NET_BIND_SERVICE,SYS_CHROOT,KILL,AUDIT_WRITE",
"yarn.scheduler.capacity.ordering-policy.priority-utilization.underutilized-preemption.enabled": "true",
"yarn.nodemanager.remote-app-log-dir": "/app-logs",
"yarn.scheduler.maximum-allocation-mb": "3072",
"yarn.nodemanager.vmem-check-enabled": "false",
"yarn.timeline-service.entity-group-fs-store.scan-interval-seconds": "60",
"yarn.resourcemanager.webapp.https.address": "%HOSTGROUP::host_group_2%:8090",
"yarn.timeline-service.webapp.https.address": "%HOSTGROUP::host_group_2%:8190",
"yarn.nodemanager.resource.percentage-physical-cpu-limit": "80",
"yarn.nodemanager.vmem-pmem-ratio": "2.1",
"yarn.nodemanager.linux-container-executor.nonsecure-mode.limit-users": "true",
"yarn.nodemanager.log-aggregation.compression-type": "gz",
"yarn.timeline-service.hbase.configuration.file": "file://{{yarn_hbase_conf_dir}}/hbase-site.xml",
"yarn.rm.system-metricspublisher.emit-container-events": "true",
"yarn.resourcemanager.work-preserving-recovery.scheduling-wait-ms": "10000",
"yarn.nodemanager.log-dirs": "/hadoop/yarn/log",
"yarn.timeline-service.hbase.coprocessor.jar.hdfs.location": "{{yarn_timeline_jar_location}}"
}
}
},
{
"hiveserver2-site": {
"properties_attributes": {},
"properties": {
"hive.service.metrics.hadoop2.component": "hiveserver2",
"hive.security.authorization.enabled": "false",
"hive.metastore.metrics.enabled": "true",
"hive.service.metrics.reporter": "HADOOP2",
"hive.server2.metrics.enabled": "true"
}
}
},
{
"pig-log4j": {
"properties_attributes": {},
"properties": {
"content": "\n#\n#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied. See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n#\n#\n\n# ***** Set root logger level to DEBUG and its only appender to A.\nlog4j.logger.org.apache.pig=info, A\n\n# ***** A is set to be a ConsoleAppender.\nlog4j.appender.A=org.apache.log4j.ConsoleAppender\n# ***** A uses PatternLayout.\nlog4j.appender.A.layout=org.apache.log4j.PatternLayout\nlog4j.appender.A.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n"
}
}
},
{
"viewfs-mount-table": {
"properties_attributes": {},
"properties": {
"content": " "
}
}
},
{
"tez-env": {
"properties_attributes": {},
"properties": {
"heap_dump_location": "/tmp",
"content": "\n# Tez specific configuration\nexport TEZ_CONF_DIR={{config_dir}}\n\n# Set HADOOP_HOME to point to a specific hadoop install directory\nexport HADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}\n\n# The java implementation to use.\nexport JAVA_HOME={{java64_home}}",
"enable_heap_dump": "false",
"tez_user": "tez"
}
}
},
{
"yarn-hbase-policy": {
"properties_attributes": {},
"properties": {
"security.masterregion.protocol.acl": "*",
"security.admin.protocol.acl": "*",
"security.client.protocol.acl": "*"
}
}
},
{
"ams-hbase-security-site": {
"properties_attributes": {},
"properties": {
"hbase.coprocessor.master.classes": "",
"hbase.myclient.keytab": "",
"hadoop.security.authentication": "",
"ams.zookeeper.keytab": "",
"hbase.zookeeper.property.jaasLoginRenew": "",
"hbase.regionserver.keytab.file": "",
"hbase.zookeeper.property.authProvider.1": "",
"hbase.zookeeper.property.kerberos.removeHostFromPrincipal": "",
"hbase.coprocessor.region.classes": "",
"hbase.security.authentication": "",
"hbase.master.keytab.file": "",
"hbase.security.authorization": "",
"hbase.zookeeper.property.kerberos.removeRealmFromPrincipal": ""
}
}
},
{
"ranger-yarn-plugin-properties": {
"properties_attributes": {},
"properties": {}
}
},
{
"yarn-env": {
"properties_attributes": {},
"properties": {
"yarn_cgroups_enabled": "false",
"yarn_user_nproc_limit": "65536",
"yarn_log_dir_prefix": "/var/log/hadoop-yarn",
"apptimelineserver_heapsize": "8072",
"yarn_user_nofile_limit": "32768",
"content": "\nexport HADOOP_YARN_HOME={{hadoop_yarn_home}}\nexport HADOOP_LOG_DIR={{yarn_log_dir}}\nexport HADOOP_SECURE_LOG_DIR={{yarn_log_dir}}\nexport HADOOP_PID_DIR={{yarn_pid_dir}}\nexport HADOOP_SECURE_PID_DIR={{yarn_pid_dir}}\nexport HADOOP_LIBEXEC_DIR={{hadoop_libexec_dir}}\nexport JAVA_HOME={{java64_home}}\nexport JAVA_LIBRARY_PATH=\"${JAVA_LIBRARY_PATH}:{{hadoop_java_io_tmpdir}}\"\n\n# We need to add the EWMA and RFA appender for the yarn daemons only;\n# however, HADOOP_ROOT_LOGGER is shared by the yarn client and the\n# daemons. This is restrict the EWMA appender to daemons only.\nexport HADOOP_LOGLEVEL=${HADOOP_LOGLEVEL:-INFO}\nexport HADOOP_ROOT_LOGGER=${HADOOP_ROOT_LOGGER:-INFO,console}\nexport HADOOP_DAEMON_ROOT_LOGGER=${HADOOP_DAEMON_ROOT_LOGGER:-${HADOOP_LOGLEVEL},EWMA,RFA}\n\n# User for YARN daemons\nexport HADOOP_YARN_USER=${HADOOP_YARN_USER:-yarn}\n\n# some Java parameters\n# export JAVA_HOME=/home/y/libexec/jdk1.6.0/\nif [ \"$JAVA_HOME\" != \"\" ]; then\n#echo \"run java in $JAVA_HOME\"\nJAVA_HOME=$JAVA_HOME\nfi\n\nif [ \"$JAVA_HOME\" = \"\" ]; then\necho \"Error: JAVA_HOME is not set.\"\nexit 1\nfi\n\nJAVA=$JAVA_HOME/bin/java\nJAVA_HEAP_MAX=-Xmx1000m\n\n# For setting YARN specific HEAP sizes please use this\n# Parameter and set appropriately\nYARN_HEAPSIZE={{yarn_heapsize}}\n\n# check envvars which might override default args\nif [ \"$YARN_HEAPSIZE\" != \"\" ]; then\nJAVA_HEAP_MAX=\"-Xmx\"\"$YARN_HEAPSIZE\"\"m\"\nfi\n\n# Resource Manager specific parameters\n\n# Specify the max Heapsize for the ResourceManager using a numerical value\n# in the scale of MB. For example, to specify an jvm option of -Xmx1000m, set\n# the value to 1000.\n# This value will be overridden by an Xmx setting specified in either HADOOP_OPTS\n# and/or YARN_RESOURCEMANAGER_OPTS.\n# If not specified, the default value will be picked from either YARN_HEAPMAX\n# or JAVA_HEAP_MAX with YARN_HEAPMAX as the preferred option of the two.\nexport YARN_RESOURCEMANAGER_HEAPSIZE={{resourcemanager_heapsize}}\n\n# Specify the JVM options to be used when starting the ResourceManager.\n# These options will be appended to the options specified as HADOOP_OPTS\n# and therefore may override any similar flags set in HADOOP_OPTS\n{% if security_enabled %}\nexport YARN_RESOURCEMANAGER_OPTS=\"-Djava.security.auth.login.config={{yarn_jaas_file}}\"\n{% endif %}\n\n# Node Manager specific parameters\n\n# Specify the max Heapsize for the NodeManager using a numerical value\n# in the scale of MB. For example, to specify an jvm option of -Xmx1000m, set\n# the value to 1000.\n# This value will be overridden by an Xmx setting specified in either HADOOP_OPTS\n# and/or YARN_NODEMANAGER_OPTS.\n# If not specified, the default value will be picked from either YARN_HEAPMAX\n# or JAVA_HEAP_MAX with YARN_HEAPMAX as the preferred option of the two.\nexport YARN_NODEMANAGER_HEAPSIZE={{nodemanager_heapsize}}\n\n# Specify the max Heapsize for the timeline server using a numerical value\n# in the scale of MB. For example, to specify an jvm option of -Xmx1000m, set\n# the value to 1024.\n# This value will be overridden by an Xmx setting specified in either HADOOP_OPTS\n# and/or YARN_TIMELINESERVER_OPTS.\n# If not specified, the default value will be picked from either YARN_HEAPMAX\n# or JAVA_HEAP_MAX with YARN_HEAPMAX as the preferred option of the two.\nexport YARN_TIMELINESERVER_HEAPSIZE={{apptimelineserver_heapsize}}\n\n{% if security_enabled %}\nexport YARN_TIMELINESERVER_OPTS=\"-Djava.security.auth.login.config={{yarn_ats_jaas_file}}\"\n{% endif %}\n\n{% if security_enabled %}\nexport YARN_TIMELINEREADER_OPTS=\"-Djava.security.auth.login.config={{yarn_ats_jaas_file}}\"\n{% endif %}\n\n{% if security_enabled %}\nexport YARN_REGISTRYDNS_OPTS=\"-Djava.security.auth.login.config={{yarn_registry_dns_jaas_file}}\"\n{% endif %}\n\n# Specify the JVM options to be used when starting the NodeManager.\n# These options will be appended to the options specified as HADOOP_OPTS\n# and therefore may override any similar flags set in HADOOP_OPTS\n{% if security_enabled %}\nexport YARN_NODEMANAGER_OPTS=\"-Djava.security.auth.login.config={{yarn_nm_jaas_file}} -Dsun.security.krb5.rcache=none\"\n{% endif %}\n\n# so that filenames w/ spaces are handled correctly in loops below\nIFS=\n\n\n# default log directory and file\nif [ \"$HADOOP_LOG_DIR\" = \"\" ]; then\nHADOOP_LOG_DIR=\"$HADOOP_YARN_HOME/logs\"\nfi\nif [ \"$HADOOP_LOGFILE\" = \"\" ]; then\nHADOOP_LOGFILE='yarn.log'\nfi\n\n# default policy file for service-level authorization\nif [ \"$YARN_POLICYFILE\" = \"\" ]; then\nYARN_POLICYFILE=\"hadoop-policy.xml\"\nfi\n\n# restore ordinary behaviour\nunset IFS\n\n# YARN now uses specific subcommand options of the pattern (command)_(subcommand)_OPTS for every\n# component. Because of this, HADDOP_OPTS is now used as a simple way to specify common properties\n# between all YARN components.\nHADOOP_OPTS=\"$HADOOP_OPTS -Dyarn.id.str=$YARN_IDENT_STRING\"\nHADOOP_OPTS=\"$HADOOP_OPTS -Dyarn.policy.file=$YARN_POLICYFILE\"\nHADOOP_OPTS=\"$HADOOP_OPTS -Djava.io.tmpdir={{hadoop_java_io_tmpdir}}\"\n\n{% if security_enabled %}\nHADOOP_OPTS=\"$HADOOP_OPTS -Djavax.security.auth.useSubjectCredsOnly=false\"\n{% endif %}\n\nexport YARN_NODEMANAGER_OPTS=\"$YARN_NODEMANAGER_OPTS -Dnm.audit.logger=INFO,NMAUDIT\"\nexport YARN_RESOURCEMANAGER_OPTS=\"$YARN_RESOURCEMANAGER_OPTS -Dyarn.server.resourcemanager.appsummary.logger=INFO,RMSUMMARY -Drm.audit.logger=INFO,RMAUDIT\"\n\n{% if registry_dns_needs_privileged_access %}\n# If the DNS server is configured to use the standard privileged port 53,\n# the environment variables YARN_REGISTRYDNS_SECURE_USER and\n# YARN_REGISTRYDNS_SECURE_EXTRA_OPTS must be set.\nexport YARN_REGISTRYDNS_SECURE_USER={{yarn_user}}\nexport YARN_REGISTRYDNS_SECURE_EXTRA_OPTS=\"-jvm server\"\n{% endif %}",
"is_supported_yarn_ranger": "true",
"service_check.queue.name": "default",
"resourcemanager_heapsize": "1024",
"registry.dns.bind-port": "53",
"yarn_pid_dir_prefix": "/var/run/hadoop-yarn",
"yarn_user": "yarn",
"min_user_id": "1000",
"yarn_heapsize": "1024",
"yarn_ats_user": "yarn-ats",
"nodemanager_heapsize": "1024"
}
}
},
{
"ranger-hdfs-audit": {
"properties_attributes": {},
"properties": {}
}
},
{
"ranger-hdfs-plugin-properties": {
"properties_attributes": {},
"properties": {}
}
},
{
"beeline-log4j2": {
"properties_attributes": {},
"properties": {
"content": "\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nstatus = INFO\nname = BeelineLog4j2\npackages = org.apache.hadoop.hive.ql.log\n\n# list of properties\nproperty.hive.log.level = {{hive_log_level}}\nproperty.hive.root.logger = console\n\n# list of all appenders\nappenders = console\n\n# console appender\nappender.console.type = Console\nappender.console.name = console\nappender.console.target = SYSTEM_ERR\nappender.console.layout.type = PatternLayout\nappender.console.layout.pattern = %d{yy/MM/dd HH:mm:ss} [%t]: %p %c{2}: %m%n\n\n# list of all loggers\nloggers = HiveConnection\n\n# HiveConnection logs useful info for dynamic service discovery\nlogger.HiveConnection.name = org.apache.hive.jdbc.HiveConnection\nlogger.HiveConnection.level = INFO\n\n# root logger\nrootLogger.level = ${sys:hive.log.level}\nrootLogger.appenderRefs = root\nrootLogger.appenderRef.root.ref = ${sys:hive.root.logger}"
}
}
},
{
"infra-solr-env": {
"properties_attributes": {},
"properties": {
"infra_solr_java_stack_size": "1",
"infra_solr_keystore_location": "/etc/security/serverKeys/infra.solr.keyStore.jks",
"infra_solr_truststore_type": "jks",
"infra_solr_user_nofile_limit": "128000",
"infra_solr_zookeeper_external_principal": "zookeeper/[email protected]",
"infra_solr_datadir": "/var/lib/ambari-infra-solr/data",
"content": "#!/bin/bash\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE file distributed with\n# this work for additional information regarding copyright ownership.\n# The ASF licenses this file to You under the Apache License, Version 2.0\n# (the \"License\"); you may not use this file except in compliance with\n# the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# By default the script will use JAVA_HOME to determine which java\n# to use, but you can set a specific path for Solr to use without\n# affecting other Java applications on your server/workstation.\nSOLR_JAVA_HOME={{java64_home}}\n\n# Increase Java Min/Max Heap as needed to support your indexing / query needs\nSOLR_JAVA_MEM=\"-Xms{{infra_solr_min_mem}}m -Xmx{{infra_solr_max_mem}}m\"\n\nSOLR_JAVA_STACK_SIZE=\"-Xss{{infra_solr_java_stack_size}}m\"\n\nGC_LOG_OPTS=\"{{infra_solr_gc_log_opts}} -Xloggc:{{infra_solr_log_dir}}/solr_gc.log\"\n\nGC_TUNE=\"{{infra_solr_gc_tune}}\"\n\n# Set the ZooKeeper connection string if using an external ZooKeeper ensemble\n# e.g. host1:2181,host2:2181/chroot\n# Leave empty if not using SolrCloud\nZK_HOST=\"{{zookeeper_quorum}}{{infra_solr_znode}}\"\n\n# Set the ZooKeeper client timeout (for SolrCloud mode)\nZK_CLIENT_TIMEOUT=\"60000\"\n\n# By default the start script uses \"localhost\"; override the hostname here\n# for production SolrCloud environments to control the hostname exposed to cluster state\nSOLR_HOST=`hostname -f`\n\n# By default the start script uses UTC; override the timezone if needed\n#SOLR_TIMEZONE=\"UTC\"\n\n# Set to true to activate the JMX RMI connector to allow remote JMX client applications\n# to monitor the JVM hosting Solr; set to \"false\" to disable that behavior\n# (false is recommended in production environments)\nENABLE_REMOTE_JMX_OPTS=\"{{infra_solr_jmx_enabled}}\"\n\n# The script will use SOLR_PORT+10000 for the RMI_PORT or you can set it here\nRMI_PORT={{infra_solr_jmx_port}}\n\n# Anything you add to the SOLR_OPTS variable will be included in the java\n# start command line as-is, in ADDITION to other options. If you specify the\n# -a option on start script, those options will be appended as well. Examples:\n#SOLR_OPTS=\"$SOLR_OPTS -Dsolr.autoSoftCommit.maxTime=3000\"\n#SOLR_OPTS=\"$SOLR_OPTS -Dsolr.autoCommit.maxTime=60000\"\n#SOLR_OPTS=\"$SOLR_OPTS -Dsolr.clustering.enabled=true\"\nSOLR_OPTS=\"$SOLR_OPTS -Djava.rmi.server.hostname={{hostname}}\"\n{% if infra_solr_extra_java_opts -%}\nSOLR_OPTS=\"$SOLR_OPTS {{infra_solr_extra_java_opts}}\"\n{% endif %}\n\n# Location where the bin/solr script will save PID files for running instances\n# If not set, the script will create PID files in $SOLR_TIP/bin\nSOLR_PID_DIR={{infra_solr_piddir}}\n\n# Path to a directory where Solr creates index files, the specified directory\n# must contain a solr.xml; by default, Solr will use server/solr\nSOLR_HOME={{infra_solr_datadir}}\n\n# Solr provides a default Log4J configuration properties file in server/resources\n# however, you may want to customize the log settings and file appender location\n# so you can point the script to use a different log4j.properties file\nLOG4J_PROPS={{infra_solr_conf}}/log4j2.xml\n\n# Location where Solr should write logs to; should agree with the file appender\n# settings in server/resources/log4j.properties\nSOLR_LOGS_DIR={{infra_solr_log_dir}}\n\n# Sets the port Solr binds to, default is 8983\nSOLR_PORT={{infra_solr_port}}\n\n# Be sure to update the paths to the correct keystore for your environment\n{% if infra_solr_ssl_enabled %}\nSOLR_SSL_KEY_STORE={{infra_solr_keystore_location}}\nSOLR_SSL_KEY_STORE_PASSWORD={{infra_solr_keystore_password}}\nSOLR_SSL_TRUST_STORE={{infra_solr_truststore_location}}\nSOLR_SSL_TRUST_STORE_PASSWORD={{infra_solr_truststore_password}}\nSOLR_SSL_NEED_CLIENT_AUTH=false\nSOLR_SSL_WANT_CLIENT_AUTH=false\n{% endif %}\n\n# Uncomment to set a specific SSL port (-Djetty.ssl.port=N); if not set\n# and you are using SSL, then the start script will use SOLR_PORT for the SSL port\n#SOLR_SSL_PORT=\n\n{% if security_enabled -%}\nSOLR_JAAS_FILE={{infra_solr_jaas_file}}\nSOLR_KERB_KEYTAB={{infra_solr_web_kerberos_keytab}}\nSOLR_KERB_PRINCIPAL={{infra_solr_web_kerberos_principal}}\nSOLR_OPTS=\"$SOLR_OPTS -Dsolr.hdfs.security.kerberos.principal={{infra_solr_kerberos_principal}}\"\nSOLR_OPTS=\"$SOLR_OPTS {{zk_security_opts}}\"\n\nSOLR_AUTH_TYPE=\"kerberos\"\nSOLR_AUTHENTICATION_OPTS=\" -DauthenticationPlugin=org.apache.solr.security.KerberosPlugin -Djava.security.auth.login.config=$SOLR_JAAS_FILE -Dsolr.kerberos.principal=${SOLR_KERB_PRINCIPAL} -Dsolr.kerberos.keytab=${SOLR_KERB_KEYTAB} -Dsolr.kerberos.cookie.domain=${SOLR_HOST}\"\n{% endif %}",
"infra_solr_minmem": "1024",
"infra_solr_pid_dir": "/var/run/ambari-infra-solr",
"infra_solr_user_nproc_limit": "65536",
"infra_solr_znode": "/infra-solr",
"infra_solr_jmx_enabled": "false",
"infra_solr_keystore_type": "jks",
"infra_solr_gc_log_opts": "-verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=15 -XX:GCLogFileSize=200M",
"infra_solr_kerberos_keytab": "/etc/security/keytabs/infra_solr.service.keytab",
"infra_solr_gc_tune": "-XX:NewRatio=3 -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 -XX:+CMSScavengeBeforeRemark -XX:PretenureSizeThreshold=64m -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=50 -XX:CMSMaxAbortablePrecleanTime=6000 -XX:+CMSParallelRemarkEnabled -XX:+ParallelRefProcEnabled",
"infra_solr_zookeeper_external_enabled": "false",
"infra_solr_web_kerberos_keytab": "/etc/security/keytabs/spnego.service.keytab",
"infra_solr_user": "infra-solr",
"infra_solr_log_dir": "/var/log/ambari-infra-solr",
"infra_solr_jmx_port": "18886",
"infra_solr_maxmem": "2048",
"infra_solr_kerberos_name_rules": "DEFAULT",
"infra_solr_port": "8886",
"infra_solr_extra_java_opts": "",
"infra_solr_ssl_enabled": "false",
"infra_solr_zookeeper_quorum": "{zookeeper_quorum}",
"infra_solr_truststore_location": "/etc/security/serverKeys/infra.solr.trustStore.jks"
}
}
},
{
"resource-types": {
"properties_attributes": {},
"properties": {
"yarn.resource-types.yarn.io_gpu.maximum-allocation": "8",
"yarn.resource-types": ""
}
}
},
{
"ams-env": {
"properties_attributes": {},
"properties": {
"timeline.metrics.skip.disk.metrics.patterns": "true",
"metrics_collector_heapsize": "512",
"min_ambari_metrics_hadoop_sink_version": "2.7.0.0",
"failover_strategy_blacklisted_interval": "300",
"metrics_collector_pid_dir": "/var/run/ambari-metrics-collector",
"metrics_collector_log_dir": "/var/log/ambari-metrics-collector",
"metrics_monitor_pid_dir": "/var/run/ambari-metrics-monitor",
"ams_classpath_additional": "",
"content": "\n# Set environment variables here.\n\n# AMS instance name\nexport AMS_INSTANCE_NAME={{hostname}}\n\n# The java implementation to use. Java 1.6 required.\nexport JAVA_HOME={{java64_home}}\n\n# Collector Log directory for log4j\nexport AMS_COLLECTOR_LOG_DIR={{ams_collector_log_dir}}\n\n# Monitor Log directory for outfile\nexport AMS_MONITOR_LOG_DIR={{ams_monitor_log_dir}}\n\n# Collector pid directory\nexport AMS_COLLECTOR_PID_DIR={{ams_collector_pid_dir}}\n\n# Monitor pid directory\nexport AMS_MONITOR_PID_DIR={{ams_monitor_pid_dir}}\n\n# AMS HBase pid directory\nexport AMS_HBASE_PID_DIR={{hbase_pid_dir}}\n\n# AMS Collector heapsize\nexport AMS_COLLECTOR_HEAPSIZE={{metrics_collector_heapsize}}\n\n# HBase Tables Initialization check enabled\nexport AMS_HBASE_INIT_CHECK_ENABLED={{ams_hbase_init_check_enabled}}\n\n# AMS Collector options\nexport AMS_COLLECTOR_OPTS=\"-Djava.library.path=/usr/lib/ams-hbase/lib/hadoop-native\"\n{% if security_enabled %}\nexport AMS_COLLECTOR_OPTS=\"$AMS_COLLECTOR_OPTS -Djava.security.auth.login.config={{ams_collector_jaas_config_file}}\"\n{% endif %}\n\n# AMS Collector GC options\nexport AMS_COLLECTOR_GC_OPTS=\"-XX:+UseConcMarkSweepGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:{{ams_collector_log_dir}}/collector-gc.log-`date +'%Y%m%d%H%M'`\"\nexport AMS_COLLECTOR_OPTS=\"$AMS_COLLECTOR_OPTS $AMS_COLLECTOR_GC_OPTS\"\n\n# Metrics collector host will be blacklisted for specified number of seconds if metric monitor failed to connect to it.\nexport AMS_FAILOVER_STRATEGY_BLACKLISTED_INTERVAL={{failover_strategy_blacklisted_interval}}\n\n# Extra Java CLASSPATH elements for Metrics Collector. Optional.\nexport COLLECTOR_ADDITIONAL_CLASSPATH={{ams_classpath_additional}}",
"timeline.metrics.skip.network.interfaces.patterns": "None",
"ambari_metrics_user": "ams",
"metrics_monitor_log_dir": "/var/log/ambari-metrics-monitor",
"timeline.metrics.host.inmemory.aggregation.jvm.arguments": "-Xmx256m -Xms128m -XX:PermSize=68m",
"timeline.metrics.skip.virtual.interfaces": "false"
}
}
},
{
"hbase-policy": {
"properties_attributes": {},
"properties": {
"security.masterregion.protocol.acl": "*",
"security.admin.protocol.acl": "*",
"security.client.protocol.acl": "*"
}
}
},
{
"llap-cli-log4j2": {
"properties_attributes": {},
"properties": {
"llap_cli_log_maxfilesize": "256",
"content": "\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nstatus = WARN\nname = LlapCliLog4j2\npackages = org.apache.hadoop.hive.ql.log\n\n# list of properties\nproperty.hive.log.level = WARN\nproperty.hive.root.logger = console\nproperty.hive.log.dir = ${sys:java.io.tmpdir}/${sys:user.name}\nproperty.hive.log.file = llap-cli.log\nproperty.hive.llapstatus.consolelogger.level = INFO\n\n# list of all appenders\nappenders = console, DRFA, llapstatusconsole\n\n# console appender\nappender.console.type = Console\nappender.console.name = console\nappender.console.target = SYSTEM_ERR\nappender.console.layout.type = PatternLayout\nappender.console.layout.pattern = %p %c{2}: %m%n\n\n# llapstatusconsole appender\nappender.llapstatusconsole.type = Console\nappender.llapstatusconsole.name = llapstatusconsole\nappender.llapstatusconsole.target = SYSTEM_OUT\nappender.llapstatusconsole.layout.type = PatternLayout\nappender.llapstatusconsole.layout.pattern = %m%n\n\n# daily rolling file appender\nappender.DRFA.type = RollingRandomAccessFile\nappender.DRFA.name = DRFA\nappender.DRFA.fileName = ${sys:hive.log.dir}/${sys:hive.log.file}\n# Use %pid in the filePattern to append process-id@host-name to the filename if you want separate log files for different CLI session\nappender.DRFA.filePattern = ${sys:hive.log.dir}/${sys:hive.log.file}.%d{yyyy-MM-dd}_%i\nappender.DRFA.layout.type = PatternLayout\nappender.DRFA.layout.pattern = %d{ISO8601} %5p [%t] %c{2}: %m%n\nappender.DRFA.policies.type = Policies\nappender.DRFA.policies.time.type = TimeBasedTriggeringPolicy\nappender.DRFA.policies.time.interval = 1\nappender.DRFA.policies.time.modulate = true\nappender.DRFA.strategy.type = DefaultRolloverStrategy\nappender.DRFA.strategy.max = {{llap_cli_log_maxbackupindex}}\nappender.DRFA.policies.fsize.type = SizeBasedTriggeringPolicy\nappender.DRFA.policies.fsize.size = {{llap_cli_log_maxfilesize}}MB\n\n# list of all loggers\nloggers = ZooKeeper, DataNucleus, Datastore, JPOX, HadoopConf, LlapStatusServiceDriverConsole\n\nlogger.ZooKeeper.name = org.apache.zookeeper\nlogger.ZooKeeper.level = WARN\n\nlogger.DataNucleus.name = DataNucleus\nlogger.DataNucleus.level = ERROR\n\nlogger.Datastore.name = Datastore\nlogger.Datastore.level = ERROR\n\nlogger.JPOX.name = JPOX\nlogger.JPOX.level = ERROR\n\nlogger.HadoopConf.name = org.apache.hadoop.conf.Configuration\nlogger.HadoopConf.level = ERROR\n\nlogger.LlapStatusServiceDriverConsole.name = LlapStatusServiceDriverConsole\nlogger.LlapStatusServiceDriverConsole.additivity = false\nlogger.LlapStatusServiceDriverConsole.level = ${sys:hive.llapstatus.consolelogger.level}\n\n\n# root logger\nrootLogger.level = ${sys:hive.log.level}\nrootLogger.appenderRefs = root, DRFA\nrootLogger.appenderRef.root.ref = ${sys:hive.root.logger}\nrootLogger.appenderRef.DRFA.ref = DRFA\nlogger.LlapStatusServiceDriverConsole.appenderRefs = llapstatusconsole, DRFA\nlogger.LlapStatusServiceDriverConsole.appenderRef.llapstatusconsole.ref = llapstatusconsole\nlogger.LlapStatusServiceDriverConsole.appenderRef.DRFA.ref = DRFA",
"llap_cli_log_maxbackupindex": "30"
}
}
},
{
"llap-daemon-log4j": {
"properties_attributes": {},
"properties": {
"hive_llap_log_maxfilesize": "256",
"content": "\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\n# This is the log4j2 properties file used by llap-daemons. There's several loggers defined, which\n# can be selected while configuring LLAP.\n# Based on the one selected - UI links etc need to be manipulated in the system.\n# Note: Some names and logic is common to this file and llap LogHelpers. Make sure to change that\n# as well, if changing this file.\n\nstatus = INFO\nname = LlapDaemonLog4j2\npackages = org.apache.hadoop.hive.ql.log\n\n# list of properties\nproperty.llap.daemon.log.level = {{hive_log_level}}\nproperty.llap.daemon.root.logger = console\nproperty.llap.daemon.log.dir = .\nproperty.llap.daemon.log.file = llapdaemon.log\nproperty.llap.daemon.historylog.file = llapdaemon_history.log\nproperty.llap.daemon.log.maxfilesize = {{hive_llap_log_maxfilesize}}MB\nproperty.llap.daemon.log.maxbackupindex = {{hive_llap_log_maxbackupindex}}\n\n# list of all appenders\nappenders = console, RFA, HISTORYAPPENDER, query-routing\n\n# console appender\nappender.console.type = Console\nappender.console.name = console\nappender.console.target = SYSTEM_ERR\nappender.console.layout.type = PatternLayout\nappender.console.layout.pattern = %d{ISO8601} %5p [%t (%X{fragmentId})] %c{2}: %m%n\n\n# rolling file appender\nappender.RFA.type = RollingRandomAccessFile\nappender.RFA.name = RFA\nappender.RFA.fileName = ${sys:llap.daemon.log.dir}/${sys:llap.daemon.log.file}\nappender.RFA.filePattern = ${sys:llap.daemon.log.dir}/${sys:llap.daemon.log.file}_%d{yyyy-MM-dd-HH}_%i.done\nappender.RFA.layout.type = PatternLayout\nappender.RFA.layout.pattern = %d{ISO8601} %-5p [%t (%X{fragmentId})] %c: %m%n\nappender.RFA.policies.type = Policies\nappender.RFA.policies.time.type = TimeBasedTriggeringPolicy\nappender.RFA.policies.time.interval = 1\nappender.RFA.policies.time.modulate = true\nappender.RFA.policies.size.type = SizeBasedTriggeringPolicy\nappender.RFA.policies.size.size = ${sys:llap.daemon.log.maxfilesize}\nappender.RFA.strategy.type = DefaultRolloverStrategy\nappender.RFA.strategy.max = ${sys:llap.daemon.log.maxbackupindex}\n\n# history file appender\nappender.HISTORYAPPENDER.type = RollingRandomAccessFile\nappender.HISTORYAPPENDER.name = HISTORYAPPENDER\nappender.HISTORYAPPENDER.fileName = ${sys:llap.daemon.log.dir}/${sys:llap.daemon.historylog.file}\nappender.HISTORYAPPENDER.filePattern = ${sys:llap.daemon.log.dir}/${sys:llap.daemon.historylog.file}_%d{yyyy-MM-dd}_%i.done\nappender.HISTORYAPPENDER.layout.type = PatternLayout\nappender.HISTORYAPPENDER.layout.pattern = %m%n\nappender.HISTORYAPPENDER.policies.type = Policies\nappender.HISTORYAPPENDER.policies.size.type = SizeBasedTriggeringPolicy\nappender.HISTORYAPPENDER.policies.size.size = ${sys:llap.daemon.log.maxfilesize}\nappender.HISTORYAPPENDER.policies.time.type = TimeBasedTriggeringPolicy\nappender.HISTORYAPPENDER.policies.time.interval = 1\nappender.HISTORYAPPENDER.policies.time.modulate = true\nappender.HISTORYAPPENDER.strategy.type = DefaultRolloverStrategy\nappender.HISTORYAPPENDER.strategy.max = ${sys:llap.daemon.log.maxbackupindex}\n\n# queryId based routing file appender\nappender.query-routing.type = Routing\nappender.query-routing.name = query-routing\nappender.query-routing.routes.type = Routes\nappender.query-routing.routes.pattern = $${ctx:queryId}\n#Purge polciy for query-based Routing Appender\nappender.query-routing.purgePolicy.type = LlapRoutingAppenderPurgePolicy\n# Note: Do not change this name without changing the corresponding entry in LlapConstants\nappender.query-routing.purgePolicy.name = llapLogPurgerQueryRouting\n# default route\nappender.query-routing.routes.route-default.type = Route\nappender.query-routing.routes.route-default.key = $${ctx:queryId}\nappender.query-routing.routes.route-default.ref = RFA\n# queryId based route\nappender.query-routing.routes.route-mdc.type = Route\nappender.query-routing.routes.route-mdc.file-mdc.type = LlapWrappedAppender\nappender.query-routing.routes.route-mdc.file-mdc.name = IrrelevantName-query-routing\nappender.query-routing.routes.route-mdc.file-mdc.app.type = RandomAccessFile\nappender.query-routing.routes.route-mdc.file-mdc.app.name = file-mdc\nappender.query-routing.routes.route-mdc.file-mdc.app.fileName = ${sys:llap.daemon.log.dir}/${ctx:queryId}-${ctx:dagId}.log\nappender.query-routing.routes.route-mdc.file-mdc.app.layout.type = PatternLayout\nappender.query-routing.routes.route-mdc.file-mdc.app.layout.pattern = %d{ISO8601} %5p [%t (%X{fragmentId})] %c{2}: %m%n\n\n# list of all loggers\nloggers = PerfLogger, EncodedReader, NIOServerCnxn, ClientCnxnSocketNIO, DataNucleus, Datastore, JPOX, HistoryLogger, LlapIoImpl, LlapIoOrc, LlapIoCache, LlapIoLocking, TezSM, TezSS, TezHC\n\nlogger.TezSM.name = org.apache.tez.runtime.library.common.shuffle.impl.ShuffleManager.fetch\nlogger.TezSM.level = WARN\nlogger.TezSS.name = org.apache.tez.runtime.library.common.shuffle.orderedgrouped.ShuffleScheduler.fetch\nlogger.TezSS.level = WARN\nlogger.TezHC.name = org.apache.tez.http.HttpConnection.url\nlogger.TezHC.level = WARN\n\nlogger.PerfLogger.name = org.apache.hadoop.hive.ql.log.PerfLogger\nlogger.PerfLogger.level = DEBUG\n\nlogger.EncodedReader.name = org.apache.hadoop.hive.ql.io.orc.encoded.EncodedReaderImpl\nlogger.EncodedReader.level = INFO\n\nlogger.LlapIoImpl.name = LlapIoImpl\nlogger.LlapIoImpl.level = INFO\n\nlogger.LlapIoOrc.name = LlapIoOrc\nlogger.LlapIoOrc.level = WARN\n\nlogger.LlapIoCache.name = LlapIoCache\nlogger.LlapIoCache.level = WARN\n\nlogger.LlapIoLocking.name = LlapIoLocking\nlogger.LlapIoLocking.level = WARN\n\nlogger.NIOServerCnxn.name = org.apache.zookeeper.server.NIOServerCnxn\nlogger.NIOServerCnxn.level = WARN\n\nlogger.ClientCnxnSocketNIO.name = org.apache.zookeeper.ClientCnxnSocketNIO\nlogger.ClientCnxnSocketNIO.level = WARN\n\nlogger.DataNucleus.name = DataNucleus\nlogger.DataNucleus.level = ERROR\n\nlogger.Datastore.name = Datastore\nlogger.Datastore.level = ERROR\n\nlogger.JPOX.name = JPOX\nlogger.JPOX.level = ERROR\n\nlogger.HistoryLogger.name = org.apache.hadoop.hive.llap.daemon.HistoryLogger\nlogger.HistoryLogger.level = INFO\nlogger.HistoryLogger.additivity = false\nlogger.HistoryLogger.appenderRefs = HistoryAppender\nlogger.HistoryLogger.appenderRef.HistoryAppender.ref = HISTORYAPPENDER\n\n# root logger\nrootLogger.level = ${sys:llap.daemon.log.level}\nrootLogger.appenderRefs = root\nrootLogger.appenderRef.root.ref = ${sys:llap.daemon.root.logger}",
"hive_llap_log_maxbackupindex": "240"
}
}
},
{
"capacity-scheduler": {
"properties_attributes": {},
"properties": {
"yarn.scheduler.capacity.schedule-asynchronously.maximum-threads": "1",
"yarn.scheduler.capacity.root.acl_submit_applications": "*",
"yarn.scheduler.capacity.root.accessible-node-labels": "*",
"yarn.scheduler.capacity.default.minimum-user-limit-percent": "100",
"yarn.scheduler.capacity.maximum-am-resource-percent": "0.2",
"yarn.scheduler.capacity.root.acl_administer_queue": "*",
"yarn.scheduler.capacity.root.default.acl_administer_jobs": "*",
"yarn.scheduler.capacity.resource-calculator": "org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator",
"yarn.scheduler.capacity.root.default.capacity": "100",
"yarn.scheduler.capacity.root.default.user-limit-factor": "1",
"yarn.scheduler.capacity.root.queues": "default",
"yarn.scheduler.capacity.root.capacity": "100",
"yarn.scheduler.capacity.root.default.acl_submit_applications": "*",
"yarn.scheduler.capacity.root.default.maximum-capacity": "100",
"yarn.scheduler.capacity.schedule-asynchronously.enable": "true",
"yarn.scheduler.capacity.node-locality-delay": "40",
"yarn.scheduler.capacity.maximum-applications": "10000",
"yarn.scheduler.capacity.schedule-asynchronously.scheduling-interval-ms": "10",
"yarn.scheduler.capacity.root.default.state": "RUNNING"
}
}
},
{
"hadoop-metrics2.properties": {
"properties_attributes": {},
"properties": {
"content": "\n{% if has_ganglia_server %}\n*.period=60\n\n*.sink.ganglia.class=org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31\n*.sink.ganglia.period=10\n\n# default for supportsparse is false\n*.sink.ganglia.supportsparse=true\n\n.sink.ganglia.slope=jvm.metrics.gcCount=zero,jvm.metrics.memHeapUsedM=both\n.sink.ganglia.dmax=jvm.metrics.threadsBlocked=70,jvm.metrics.memHeapUsedM=40\n\n# Hook up to the server\nnamenode.sink.ganglia.servers={{ganglia_server_host}}:8661\ndatanode.sink.ganglia.servers={{ganglia_server_host}}:8659\njobtracker.sink.ganglia.servers={{ganglia_server_host}}:8662\ntasktracker.sink.ganglia.servers={{ganglia_server_host}}:8658\nmaptask.sink.ganglia.servers={{ganglia_server_host}}:8660\nreducetask.sink.ganglia.servers={{ganglia_server_host}}:8660\nresourcemanager.sink.ganglia.servers={{ganglia_server_host}}:8664\nnodemanager.sink.ganglia.servers={{ganglia_server_host}}:8657\nhistoryserver.sink.ganglia.servers={{ganglia_server_host}}:8666\njournalnode.sink.ganglia.servers={{ganglia_server_host}}:8654\nnimbus.sink.ganglia.servers={{ganglia_server_host}}:8649\nsupervisor.sink.ganglia.servers={{ganglia_server_host}}:8650\n\nresourcemanager.sink.ganglia.tagsForPrefix.yarn=Queue\n\n{% endif %}\n\n{% if has_metric_collector %}\n\n*.period={{metrics_collection_period}}\n*.sink.timeline.plugin.urls=file:///usr/lib/ambari-metrics-hadoop-sink/ambari-metrics-hadoop-sink.jar\n*.sink.timeline.class=org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink\n*.sink.timeline.period={{metrics_collection_period}}\n*.sink.timeline.sendInterval={{metrics_report_interval}}000\n*.sink.timeline.slave.host.name={{hostname}}\n*.sink.timeline.zookeeper.quorum={{zookeeper_quorum}}\n*.sink.timeline.protocol={{metric_collector_protocol}}\n*.sink.timeline.port={{metric_collector_port}}\n*.sink.timeline.instanceId = {{cluster_name}}\n*.sink.timeline.set.instanceId = {{set_instanceId}}\n*.sink.timeline.host_in_memory_aggregation = {{host_in_memory_aggregation}}\n*.sink.timeline.host_in_memory_aggregation_port = {{host_in_memory_aggregation_port}}\n{% if is_aggregation_https_enabled %}\n*.sink.timeline.host_in_memory_aggregation_protocol = {{host_in_memory_aggregation_protocol}}\n{% endif %}\n\n# HTTPS properties\n*.sink.timeline.truststore.path = {{metric_truststore_path}}\n*.sink.timeline.truststore.type = {{metric_truststore_type}}\n*.sink.timeline.truststore.password = {{metric_truststore_password}}\n\ndatanode.sink.timeline.collector.hosts={{ams_collector_hosts}}\nnamenode.sink.timeline.collector.hosts={{ams_collector_hosts}}\nresourcemanager.sink.timeline.collector.hosts={{ams_collector_hosts}}\nnodemanager.sink.timeline.collector.hosts={{ams_collector_hosts}}\njobhistoryserver.sink.timeline.collector.hosts={{ams_collector_hosts}}\njournalnode.sink.timeline.collector.hosts={{ams_collector_hosts}}\nmaptask.sink.timeline.collector.hosts={{ams_collector_hosts}}\nreducetask.sink.timeline.collector.hosts={{ams_collector_hosts}}\napplicationhistoryserver.sink.timeline.collector.hosts={{ams_collector_hosts}}\n\nresourcemanager.sink.timeline.tagsForPrefix.yarn=Queue\n\n{% if is_nn_client_port_configured %}\n# Namenode rpc ports customization\nnamenode.sink.timeline.metric.rpc.client.port={{nn_rpc_client_port}}\n{% endif %}\n{% if is_nn_dn_port_configured %}\nnamenode.sink.timeline.metric.rpc.datanode.port={{nn_rpc_dn_port}}\n{% endif %}\n{% if is_nn_healthcheck_port_configured %}\nnamenode.sink.timeline.metric.rpc.healthcheck.port={{nn_rpc_healthcheck_port}}\n{% endif %}\n\n{% endif %}"
}
}
},
{
"hbase-env": {
"properties_attributes": {},
"properties": {
"hbase_regionserver_xmn_max": "4000",
"hbase_user": "hbase",
"hbase.atlas.hook": "false",
"hbase_parallel_gc_threads": "2",
"hbase_master_heapsize": "1024",
"hbase_regionserver_xmn_ratio": "0.2",
"content": "\n# Set environment variables here.\n\n# The java implementation to use. Java 1.6 required.\nexport JAVA_HOME={{java64_home}}\n\n# HBase Configuration directory\nexport HBASE_CONF_DIR=${HBASE_CONF_DIR:-{{hbase_conf_dir}}}\n\n# Extra Java CLASSPATH elements. Optional.\nexport HBASE_CLASSPATH=${HBASE_CLASSPATH}\n\n\n# The maximum amount of heap to use, in MB. Default is 1000.\n# export HBASE_HEAPSIZE=1000\n\n# Extra Java runtime options.\n# Below are what we set by default. May only work with SUN JVM.\n# For more on why as well as other possible settings,\n# see http://wiki.apache.org/hadoop/PerformanceTuning\nexport SERVER_GC_OPTS=\"-verbose:gc -XX:-PrintGCCause -XX:+PrintAdaptiveSizePolicy -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:{{log_dir}}/gc.log-`date +'%Y%m%d%H%M'`\"\n# Uncomment below to enable java garbage collection logging.\n# export HBASE_OPTS=\"$HBASE_OPTS -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:$HBASE_HOME/logs/gc-hbase.log\"\n\n# Uncomment and adjust to enable JMX exporting\n# See jmxremote.password and jmxremote.access in $JRE_HOME/lib/management to configure remote password access.\n# More details at: http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html\n#\n# export HBASE_JMX_BASE=\"-Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false\"\n# If you want to configure BucketCache, specify '-XX: MaxDirectMemorySize=' with proper direct memory size\n# export HBASE_THRIFT_OPTS=\"$HBASE_JMX_BASE -Dcom.sun.management.jmxremote.port=10103\"\n# export HBASE_ZOOKEEPER_OPTS=\"$HBASE_JMX_BASE -Dcom.sun.management.jmxremote.port=10104\"\n\n# File naming hosts on which HRegionServers will run. $HBASE_HOME/conf/regionservers by default.\nexport HBASE_REGIONSERVERS=${HBASE_CONF_DIR}/regionservers\n\n# Extra ssh options. Empty by default.\n# export HBASE_SSH_OPTS=\"-o ConnectTimeout=1 -o SendEnv=HBASE_CONF_DIR\"\n\n# Where log files are stored. $HBASE_HOME/logs by default.\nexport HBASE_LOG_DIR={{log_dir}}\n\n# A string representing this instance of hbase. $USER by default.\n# export HBASE_IDENT_STRING=$USER\n\n# The scheduling priority for daemon processes. See 'man nice'.\n# export HBASE_NICENESS=10\n\n# The directory where pid files are stored. /tmp by default.\nexport HBASE_PID_DIR={{pid_dir}}\n\n# Seconds to sleep between slave commands. Unset by default. This\n# can be useful in large clusters, where, e.g., slave rsyncs can\n# otherwise arrive faster than the master can service them.\n# export HBASE_SLAVE_SLEEP=0.1\n\n# Tell HBase whether it should manage it's own instance of Zookeeper or not.\nexport HBASE_MANAGES_ZK=false\n\n{% if java_version < 8 %}\nJDK_DEPENDED_OPTS=\"-XX:PermSize=128m -XX:MaxPermSize=128m -XX:ReservedCodeCacheSize=256m\"\n{% endif %}\n\n# Set common JVM configuration\nexport HBASE_OPTS=\"$HBASE_OPTS -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:-ResizePLAB -XX:ErrorFile={{log_dir}}/hs_err_pid%p.log -Djava.io.tmpdir={{java_io_tmpdir}}\"\nexport HBASE_MASTER_OPTS=\"$HBASE_MASTER_OPTS -Xmx{{master_heapsize}} -XX:ParallelGCThreads={{parallel_gc_threads}} $JDK_DEPENDED_OPTS \"\nexport HBASE_REGIONSERVER_OPTS=\"$HBASE_REGIONSERVER_OPTS -Xms{{regionserver_heapsize}} -Xmx{{regionserver_heapsize}} -XX:ParallelGCThreads={{parallel_gc_threads}} $JDK_DEPENDED_OPTS\"\nexport PHOENIX_QUERYSERVER_OPTS=\"$PHOENIX_QUERYSERVER_OPTS -XX:ParallelGCThreads={{parallel_gc_threads}} $JDK_DEPENDED_OPTS\"\n\n# Add Kerberos authentication-related configuration\n{% if security_enabled %}\nexport HBASE_OPTS=\"$HBASE_OPTS -Djava.security.auth.login.config={{client_jaas_config_file}}\"\nexport HBASE_MASTER_OPTS=\"$HBASE_MASTER_OPTS -Djava.security.auth.login.config={{master_jaas_config_file}} -Djavax.security.auth.useSubjectCredsOnly=false\"\nexport HBASE_REGIONSERVER_OPTS=\"$HBASE_REGIONSERVER_OPTS -Djava.security.auth.login.config={{regionserver_jaas_config_file}} -Djavax.security.auth.useSubjectCredsOnly=false\"\nexport PHOENIX_QUERYSERVER_OPTS=\"$PHOENIX_QUERYSERVER_OPTS -Djava.security.auth.login.config={{queryserver_jaas_config_file}}\"\n{% endif %}\n\n# HBase off-heap MaxDirectMemorySize\nexport HBASE_REGIONSERVER_OPTS=\"$HBASE_REGIONSERVER_OPTS {% if hbase_max_direct_memory_size %} -XX:MaxDirectMemorySize={{hbase_max_direct_memory_size}}m {% endif %}\"\nexport HBASE_MASTER_OPTS=\"$HBASE_MASTER_OPTS {% if hbase_max_direct_memory_size %} -XX:MaxDirectMemorySize={{hbase_max_direct_memory_size}}m {% endif %}\"",
"hbase_java_io_tmpdir": "/tmp",
"hbase_user_nproc_limit": "16000",
"hbase_pid_dir": "/var/run/hbase",
"hbase_regionserver_shutdown_timeout": "30",
"hbase_log_dir": "/var/log/hbase",
"hbase_regionserver_heapsize": "1024",
"hbase_user_nofile_limit": "32000",
"phoenix_sql_enabled": "true"
}
}
},
{
"hive-interactive-env": {
"properties_attributes": {},
"properties": {
"enable_hive_interactive": "false",
"llap_heap_size": "0",
"llap_app_name": "llap0",
"num_retries_for_checking_llap_status": "20",
"hive_heapsize": "512",
"content": "\nexport HADOOP_OPTS=\"$HADOOP_OPTS -Xloggc:{{hive_log_dir}}/hiveserverinteractive-gc-%t.log -XX:+UseG1GC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCCause -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=10M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath={{hive_log_dir}}/hsi_heapdump.hprof -Dhive.log.dir={{hive_log_dir}} -Dhive.log.file=hiveserver2Interactive.log\"\n\n# The heap size of the jvm stared by hive shell script can be controlled via:\nexport HADOOP_HEAPSIZE={{hive_interactive_heapsize}} # Setting for HiveServer2 and Client\n\nexport HADOOP_CLIENT_OPTS=\"$HADOOP_CLIENT_OPTS -Xmx${HADOOP_HEAPSIZE}m\"\nexport HADOOP_CLIENT_OPTS=\"$HADOOP_CLIENT_OPTS{{heap_dump_opts}}\"\n\n# Larger heap size may be required when running queries over large number of files or partitions.\n# By default hive shell scripts use a heap size of 256 (MB). Larger heap size would also be\n# appropriate for hive server (hwi etc).\n\n\n# Set HADOOP_HOME to point to a specific hadoop install directory\nHADOOP_HOME=${HADOOP_HOME:-{{hadoop_home}}}\n\n# Hive Configuration Directory can be controlled by:\nexport HIVE_CONF_DIR={{hive_server_interactive_conf_dir}}\n\n# Add additional hcatalog jars\nif [ \"${HIVE_AUX_JARS_PATH}\" != \"\" ]; then\n export HIVE_AUX_JARS_PATH=${HIVE_AUX_JARS_PATH}\nelse\n export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-server2/lib/hive-hcatalog-core.jar\nfi\n\nexport METASTORE_PORT={{hive_metastore_port}}",
"llap_log_level": "INFO",
"num_llap_nodes_for_llap_daemons": "1",
"num_llap_nodes": "1",
"llap_headroom_space": "12288",
"hive_aux_jars": "",
"llap_java_opts": "-XX:+AlwaysPreTouch {% if java_version > 7 %}-XX:+UseG1GC -XX:TLABSize=8m -XX:+ResizeTLAB -XX:+UseNUMA -XX:+AggressiveOpts -XX:InitiatingHeapOccupancyPercent=70 -XX:+UnlockExperimentalVMOptions -XX:G1MaxNewSizePercent=40 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=200{% else %}-XX:+PrintGCDetails -verbose:gc -XX:+PrintGCTimeStamps -XX:+UseNUMA -XX:+UseParallelGC{% endif %}{{heap_dump_opts}}"
}
}
},
{
"hiveserver2-interactive-site": {
"properties_attributes": {},
"properties": {
"hive.async.log.enabled": "false",
"hive.service.metrics.hadoop2.component": "hiveserver2",
"hive.metastore.metrics.enabled": "true",
"hive.service.metrics.reporter": "HADOOP2",
"hive.server2.metrics.enabled": "true"
}
}
},
{
"ams-site": {
"properties_attributes": {},
"properties": {
"timeline.metrics.cluster.aggregator.hourly.interval": "3600",
"timeline.metrics.cluster.aggregator.minute.checkpointCutOffMultiplier": "2",
"timeline.metrics.cluster.aggregator.daily.checkpointCutOffMultiplier": "2",
"timeline.metrics.downsampler.event.metric.patterns": "topology\\.%",
"timeline.metrics.host.aggregator.hourly.interval": "3600",