forked from hortonworks/ansible-hortonworks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathambari-server
81 lines (71 loc) · 3.75 KB
/
ambari-server
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
---
ambari_admin_user: 'admin'
ambari_admin_password: 'admin' # the password for the above admin user
ambari_admin_default_password: 'admin' # no need to change this (unless the Ambari default changes)
wait: true # wait for the cluster to finish installing
wait_timeout: 3600 # 60 minutes
default_password: 'ralapakr1!' # a default password for all required passwords which are not specified in the blueprint
config_recommendation_strategy: 'ALWAYS_APPLY'
cluster_template_file: 'cluster_template.j2' # the cluster creation template file
############################
## database configuration ## # only useful if blueprint is dynamic
############################
database: 'embedded' # can be set to 'embedded', 'postgres', 'mysql' or 'mariadb'
database_options:
external_hostname: '' # if this is empty, Ansible will install and prepare the databases on the ambari-node
ambari_db_name: 'ambari'
ambari_db_username: 'ambari'
ambari_db_password: 'bigdata'
hive_db_name: 'hive'
hive_db_username: 'hive'
hive_db_password: 'hive'
oozie_db_name: 'oozie'
oozie_db_username: 'oozie'
oozie_db_password: 'oozie'
rangeradmin_db_name: 'ranger'
rangeradmin_db_username: 'ranger'
rangeradmin_db_password: 'ranger'
registry_db_name: 'registry'
registry_db_username: 'registry'
registry_db_password: 'registry'
streamline_db_name: 'streamline'
streamline_db_username: 'streamline'
streamline_db_password: 'streamline'
##########################
## ranger configuration ## # only useful if blueprint is dynamic
##########################
ranger_options: # only used if RANGER_ADMIN is part of the blueprint stack
ranger_admin_password: 'admin' # the password for the Ranger admin users (both admin and amb_ranger_admin)
enable_plugins: yes # set to 'yes' if the plugins should be enabled for all of the installed services
#############################
## blueprint configuration ##
#############################
blueprint_name: '{{ cluster_name }}_blueprint' # the name of the blueprint as it will be stored in Ambari
blueprint_file: 'blueprint.json' # the blueprint JSON file - 'blueprint_dynamic.j2' is a Jinja2 template that generates the required JSON
blueprint_dynamic: # properties for the dynamic blueprint - these are only used by the 'blueprint_dynamic.j2' template to generate the JSON
- role: "hdp-master"
clients: ['ZOOKEEPER_CLIENT', 'HDFS_CLIENT', 'YARN_CLIENT', 'MAPREDUCE2_CLIENT', 'TEZ_CLIENT', 'SLIDER', 'PIG', 'SQOOP', 'HIVE_CLIENT', 'HCAT', 'OOZIE_CLIENT', 'INFRA_SOLR_CLIENT', 'SPARK2_CLIENT']
services:
- ZOOKEEPER_SERVER
- NAMENODE
- SECONDARY_NAMENODE
- RESOURCEMANAGER
- APP_TIMELINE_SERVER
- HISTORYSERVER
- SPARK2_JOBHISTORYSERVER
- HIVE_SERVER
- HIVE_METASTORE
- WEBHCAT_SERVER
- OOZIE_SERVER
- AMBARI_SERVER
- INFRA_SOLR
- METRICS_COLLECTOR
- METRICS_GRAFANA
- METRICS_MONITOR
- ZEPPELIN_MASTER
- role: "hdp-slave"
clients: ['ZOOKEEPER_CLIENT', 'HDFS_CLIENT', 'YARN_CLIENT', 'MAPREDUCE2_CLIENT', 'TEZ_CLIENT', 'SLIDER', 'PIG', 'SQOOP', 'HIVE_CLIENT', 'HCAT', 'OOZIE_CLIENT', 'INFRA_SOLR_CLIENT', 'SPARK2_CLIENT']
services:
- DATANODE
- NODEMANAGER
- METRICS_MONITOR