OSDN Git Service

add repository update flag.
[metasearch/grid-chef-repo.git] / roles / hadoop-pseudo-distributed-ah.rb
1 name 'hadoop-pseudo-distributed-ah'
2 description 'Hadoop pseudo distributed mode configurations for Apache Hadoop 1'
3
4 run_list(
5   'role[node_commons]',
6   'role[hadoop-pseudo-distributed]',
7   #'role[grid-ops-utils]'
8 )
9
10 #env_run_lists()
11
12 default_attributes(
13   'grid' => {
14     'gridctl' => {
15       'env' => {
16         #'DOMAIN' => '',
17         #'HADOOP_ARTIFACT_TYPE' => 'tarball',
18         'HADOOP_DISTRIBUTION' => 'apache',
19         #'HADOOP_HOME' => '/grid/usr/hadoop',
20       }
21     }
22   },
23   'hadoop' => {
24     'version' => '1.2.1',
25     #'version' => '1.1.2',
26     #'version' => '1.0.4',
27     'hadoop.http.authentication.type' => 'simple',
28     # for 1.0.x only >>
29     'extra_configs' => {
30       'core-site.xml' => {
31         #'hadoop.http.authentication.signature.secret' \
32         #  => '91d365813d6dd1f4ceafff73f90a9a06'
33       }
34     },
35   },
36 )
37
38 override_attributes(
39 )
40