OSDN Git Service

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