OSDN Git Service

add .envrc
[metasearch/grid-chef-repo.git] / roles / test-cdh4-mr1-on-localhost.rb
1 name 'test-cdh4-mr1-on-localhost'
2 description 'Testing Cloudera\'s Distribution, including Apache Hadoop 4.x (MRv1) on local machine'
3
4 run_list(
5   'role[test-cdh4-on-localhost]',
6 )
7
8 #env_run_lists()
9
10 default_attributes(
11   'cdh' => {
12     'version' => '4.3.0',
13     #'version' => '4.2.0',
14     'yum_repo' => {
15       'with_gplextras' => true
16     }
17   },
18   'hadoop' => {
19     'install_flavor' => 'cdh',
20     'cdh' => {
21       #'alternatives' => {
22       #  'hadoop-conf' => {
23       #    'path' => '/etc/hadoop/conf.pleiades',
24       #    'priority' => '40'
25       #  }
26       #}
27       'resource_negotiator_framework' => 'MRv1',  # CDH4 only.
28     },
29     'with_hadoop_lzo' => true,
30     'hadoop.http.authentication.type' => 'simple',
31     'HADOOP_CLASSPATH' => '',
32     'HADOOP_USER_CLASSPATH_FIRST' => 'false',
33 =begin
34     'metrics2' => {
35       'namenode.sink.ganglia.servers' => 'localhost:8649',
36       'datanode.sink.ganglia.servers' => 'localhost:8649',
37       # for 2.0.x only
38       'resourcemanager.sink.ganglia.servers' => 'localhost:8649',
39       'nodemanager.sink.ganglia.servers' => 'localhost:8649',
40     },
41 =end
42     # for 2.0.x only
43     'container-executor' => {
44       'min.user.id' => '500'
45     },
46     #'yarn.nodemanager.linux-container-executor.resources-handler.class' \
47     #  => 'org.apache.hadoop.yarn.server.nodemanager.util.CgroupsLCEResourcesHandler',  # N/A on the CDH4
48     # for 1.x only
49     'taskcontroller' => {
50       'min.user.id' => '500'
51     },
52   },
53   'hbase' => {
54     'version' => '0.94.7'
55   },
56   'pig' => {
57     'version' => '0.11.1'
58     #'version' => '0.11.0'
59   }
60 )
61
62 #override_attributes()
63