OSDN Git Service

adds workaround for `check_all_disks` command failure.
[metasearch/grid-chef-repo.git] / roles / hadoop-pseudo-distributed-cdh.rb
1 name 'hadoop-pseudo-distributed-cdh'
2 description 'Hadoop pseudo distributed mode configurations for CDH'
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     }
29   },
30   'hadoop' => {
31     'install_flavor' => 'cdh',
32     'cdh' => {
33       #'alternatives' => {
34       #  'hadoop-conf' => {
35       #    'path' => '/etc/hadoop/conf.pleiades',
36       #    'priority' => '40'
37       #  }
38       #}
39     },
40     'with_hadoop_lzo' => true,
41     'HADOOP_CLASSPATH' => '',
42     'HADOOP_USER_CLASSPATH_FIRST' => 'false',
43     # for 1.x only
44     'taskcontroller' => {
45       'min.user.id' => '500'
46     }
47   }
48 )
49
50 override_attributes(
51 )
52