1 name 'test-cdh-on-localhost'
2 description 'Testing Cloudera\'s Distribution, including Apache Hadoop on local machine'
7 'role[nameservice-client]',
8 'role[ganglia-all-in-one-localhost]',
11 'role[hadoop-pseudo-distributed-with-security]',
12 #'role[zookeeper-pseudo-replicated-with-security]',
13 #'role[hbase-pseudo-distributed-with-security]',
15 #'role[grid-ops-utils]'
25 #'HADOOP_ARTIFACT_TYPE' => 'package',
26 'HADOOP_DISTRIBUTION' => 'cdh3',
33 'URI' => 'ldap://localhost/',
34 'BASE' => 'dc=localdomain',
35 'TLS_CACERT' => '/etc/ssl/certs/cacert.pem',
36 'TLS_REQCERT' => 'allow',
37 'TLS_CHECKPEER' => 'yes',
38 'SASL_MECH' => 'GSSAPI'
41 'uri' => 'ldap://localhost/',
42 'base' => 'dc=localdomain',
44 'tls_cacertfile' => '/etc/ssl/certs/cacert.pem',
45 'tls_reqcert' => 'demand'
47 #'ldap_lookup_nameservices' => ['passwd', 'group']
51 'default_realm' => 'LOCALDOMAIN',
53 'default_tgs_enctypes' \
54 => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5',
55 'default_tkt_enctypes' \
56 => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5',
57 'permitted_enctypes' \
58 => 'aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 arcfour-hmac-md5'
62 'trusted_hosts' => ['127.0.0.1'],
64 #'Allow' => ['from .grid.example.com'],
65 'AuthType' => 'Kerberos',
67 'KrbAuthRealms' => 'LOCALDOMAIN',
68 'Krb5Keytab' => '/etc/krb5.keytab'
74 #'Allow' => ['from .grid.example.com'],
75 'AuthType' => 'Kerberos',
77 'KrbAuthRealms' => 'LOCALDOMAIN',
78 'Krb5Keytab' => '/etc/krb5.keytab'
81 'check_external_commands' => '1',
82 'use_regexp_matching' => '1',
83 'authorized_for_system_information' => '*',
84 'authorized_for_configuration_information' => '*',
85 'authorized_for_system_commands' => '*',
86 'authorized_for_all_services' => '*',
87 'authorized_for_all_hosts' => '*',
88 'authorized_for_all_service_commands' => '*',
89 'authorized_for_all_host_commands' => '*',
90 'check_ganglia_metric' => {
92 'gmetad_host' => 'localhost'
97 'use' => 'generic-host',
98 'host_name' => 'localhost4gmon',
99 'address' => 'localhost' # not 127.0.0.1
103 # ganglia gmetad monitoring
105 'use' => 'generic-check_ganglia_cache-service',
106 'contact_groups' => 'admins',
107 'host_name' => 'localhost'
110 'use' => 'generic-ganglia_heartbeat-service',
111 'contact_groups' => 'admins',
112 'host_name' => 'localhost4gmon'
113 #'hostgroup_name' => 'gmetads',
115 # standard monitoring.
117 'use' => 'generic-ping-service',
118 'contact_groups' => 'admins',
119 #'contact_groups' => 'grid-admins',
120 'host_name' => 'localhost',
121 #'hostgroup_name' => 'grid-servers',
123 # monitoring via Ganglia
125 'use' => 'generic-load_one-service',
126 'contact_groups' => 'admins',
127 'host_name' => 'localhost4gmon'
130 'servicedependencies' => [
132 'host_name' => 'localhost',
133 'service_description' => 'Cache for check_ganglia_metric',
134 'dependent_host_name' => 'localhost4gmon',
135 #'dependent_host_name' => '.*',
136 #'dependent_hostgroup_name' => 'grid-servers',
137 'dependent_service_description' => '.* via Ganglia$',
138 'execution_failure_criteria' => 'c,p'
147 'version' => '4.3.0',
148 #'version' => '4.2.0',
152 'with_gplextras' => true
156 'install_flavor' => 'cdh',
160 # 'path' => '/etc/hadoop/conf.pleiades',
164 'resource_negotiator_framework' => 'MRv1', # CDH4 only.
166 'with_hadoop_lzo' => true,
167 'hadoop.http.authentication.type' => 'simple',
168 'HADOOP_CLASSPATH' => '',
169 'HADOOP_USER_CLASSPATH_FIRST' => 'false',
172 'namenode.sink.ganglia.servers' => 'localhost:8649',
173 'datanode.sink.ganglia.servers' => 'localhost:8649',
175 'resourcemanager.sink.ganglia.servers' => 'localhost:8649',
176 'nodemanager.sink.ganglia.servers' => 'localhost:8649',
178 'jobtracker.sink.ganglia.servers' => 'localhost:8649',
179 'tasktracker.sink.ganglia.servers' => 'localhost:8649',
180 'maptask.sink.ganglia.servers' => 'localhost:8649',
181 'reducetask.sink.ganglia.servers' => 'localhost:8649'
185 'container-executor' => {
186 'min.user.id' => '500'
188 #'yarn.nodemanager.linux-container-executor.resources-handler.class' \
189 # => 'org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler', # N/A on the CDH4
191 'taskcontroller' => {
192 'min.user.id' => '500'
196 'version' => '0.94.7'
199 'version' => '0.11.1'
200 #'version' => '0.11.0'
206 'trusted_hosts' => ['127.0.0.1'],
209 'gmond_conf_type' => 'automatic',
211 #'cast_mode' => 'multi'