OSDN Git Service

improve the backup and restore scripts.
[metasearch/grid-chef-repo.git] / roles / hadoop-pseudo-distributed-cdh4.rb
1 name 'hadoop-pseudo-distributed-cdh4'
2 description 'Hadoop pseudo distributed mode configurations for CDH4 MRv1'
3
4 run_list(
5   'role[node_commons]',
6   'role[yum-cdh]',
7   'role[hadoop-pseudo-distributed]',
8   #'role[grid-ops-utils]'
9 )
10
11 #env_run_lists()
12
13 default_attributes(
14   'grid' => {
15     'gridctl' => {
16       'env' => {
17         #'DOMAIN' => '',
18         'HADOOP_ARTIFACT_TYPE' => 'package',
19         'HADOOP_DISTRIBUTION' => 'cdh',
20         #'HADOOP_HOME' => '/grid/usr/hadoop',
21       }
22     }
23   },
24   'cdh' => {
25     'version' => '4.4.0',
26     'yum_repo' => {
27       'update' => true,
28       'with_gplextras' => true
29     }
30   },
31   'hadoop' => {
32     'install_flavor' => 'cdh',
33     'cdh' => {
34       'resource_negotiator_framework' => 'MRv1'
35     },
36     'with_hadoop_lzo' => true,
37     'HADOOP_CLASSPATH' => '',
38     'HADOOP_USER_CLASSPATH_FIRST' => 'false',
39     # for 1.x only
40     'taskcontroller' => {
41       'min.user.id' => '500'
42     }
43   }
44 )
45
46 #override_attributes()
47