35
by Cory Johns
Converted to dist.yaml for easier updating / extending |
1 |
# This file contains values that are likely to change per distribution.
|
2 |
# The aim is to make it easier to update / extend the charms with
|
|
3 |
# minimal changes to the shared code in charmhelpers.
|
|
4 |
vendor: 'apache' |
|
5 |
hadoop_version: '2.4.1' |
|
6 |
packages: |
|
7 |
- 'libsnappy1' |
|
8 |
- 'libsnappy-dev' |
|
9 |
- 'openssl' |
|
10 |
- 'liblzo2-2' |
|
11 |
groups: |
|
12 |
- 'hadoop' |
|
13 |
- 'mapred' |
|
52
by Kevin W. Monroe
add ubuntu to the supergroup; let the hue charm handle the hue user |
14 |
- 'supergroup' |
35
by Cory Johns
Converted to dist.yaml for easier updating / extending |
15 |
users: |
16 |
ubuntu: |
|
52
by Kevin W. Monroe
add ubuntu to the supergroup; let the hue charm handle the hue user |
17 |
groups: ['hadoop', 'mapred', 'supergroup'] |
35
by Cory Johns
Converted to dist.yaml for easier updating / extending |
18 |
hdfs: |
19 |
groups: ['hadoop'] |
|
20 |
mapred: |
|
21 |
groups: ['hadoop', 'mapred'] |
|
22 |
yarn: |
|
23 |
groups: ['hadoop'] |
|
24 |
dirs: |
|
25 |
hadoop: |
|
26 |
path: '/usr/lib/hadoop' |
|
27 |
perms: 0777 |
|
44
by Kevin W. Monroe
add DistConfig to charmhelpers, update apache charms to use it |
28 |
hadoop_conf: |
29 |
path: '/etc/hadoop/conf' |
|
35
by Cory Johns
Converted to dist.yaml for easier updating / extending |
30 |
hadoop_tmp: |
31 |
path: '/tmp/hadoop' |
|
32 |
perms: 0777 |
|
33 |
mapred_log: |
|
34 |
path: '/var/log/hadoop/mapred' |
|
35 |
owner: 'mapred' |
|
36 |
group: 'hadoop' |
|
37 |
perms: 0755 |
|
38 |
mapred_run: |
|
39 |
path: '/var/run/hadoop/mapred' |
|
40 |
owner: 'mapred' |
|
41 |
group: 'hadoop' |
|
42 |
perms: 0755 |
|
43 |
yarn_tmp: |
|
44 |
path: '/tmp/hadoop-yarn' |
|
45 |
perms: 0777 |
|
46 |
yarn_log_dir: |
|
50
by Cory Johns
Cleaned up config options for all core Apache Hadoop charms |
47 |
path: '/var/log/hadoop/yarn' |
35
by Cory Johns
Converted to dist.yaml for easier updating / extending |
48 |
owner: 'yarn' |
49 |
group: 'hadoop' |
|
50 |
perms: 0755 |
|
51 |
hdfs_log_dir: |
|
50
by Cory Johns
Cleaned up config options for all core Apache Hadoop charms |
52 |
path: '/var/log/hadoop/hdfs' |
53 |
owner: 'hdfs' |
|
54 |
group: 'hadoop' |
|
55 |
perms: 0755 |
|
56 |
hdfs_dir_base: |
|
57 |
path: '/usr/local/hadoop/data' |
|
35
by Cory Johns
Converted to dist.yaml for easier updating / extending |
58 |
owner: 'hdfs' |
59 |
group: 'hadoop' |
|
60 |
perms: 0755 |
|
61 |
cache_base: |
|
50
by Cory Johns
Cleaned up config options for all core Apache Hadoop charms |
62 |
path: '{dirs[hdfs_dir_base]}/cache' |
35
by Cory Johns
Converted to dist.yaml for easier updating / extending |
63 |
owner: 'hdfs' |
64 |
group: 'hadoop' |
|
65 |
perms: 01775 |
|
66 |
cache_dir: |
|
50
by Cory Johns
Cleaned up config options for all core Apache Hadoop charms |
67 |
path: '{dirs[hdfs_dir_base]}/cache/hadoop' |
35
by Cory Johns
Converted to dist.yaml for easier updating / extending |
68 |
owner: 'hdfs' |
69 |
group: 'hadoop' |
|
70 |
perms: 0775 |
|
71 |
ports: |
|
48
by Cory Johns
Updated charmhelpers to clean up port handling; improved DEV-README.md |
72 |
# Ports that need to be exposed, overridden, or manually specified.
|
73 |
# Only expose ports serving a UI or external API (i.e., namenode and
|
|
74 |
# resourcemanager). Communication among units within the cluster does
|
|
75 |
# not need ports to be explicitly opened.
|
|
76 |
dn_webapp_http: |
|
77 |
port: 50075 |
|
53.1.1
by Kevin W. Monroe
[wip] fix slaves handling in regiser_slaves; call _remote with appropriate relation; kv data is no longer autocommited on hook exit, so flush to disk after kv.set; dont force the namenode format so we dont accidentally reformat existing data |
78 |
exposed_on: 'compute-slave-hdfs' |
48
by Cory Johns
Updated charmhelpers to clean up port handling; improved DEV-README.md |
79 |
nm_webapp_http: |
80 |
port: 8042 |
|
53.1.1
by Kevin W. Monroe
[wip] fix slaves handling in regiser_slaves; call _remote with appropriate relation; kv data is no longer autocommited on hook exit, so flush to disk after kv.set; dont force the namenode format so we dont accidentally reformat existing data |
81 |
exposed_on: 'compute-slave-yarn' |
48
by Cory Johns
Updated charmhelpers to clean up port handling; improved DEV-README.md |
82 |
# TODO: support SSL
|
83 |
#dn_webapp_https:
|
|
84 |
# port: 50475
|
|
53.1.1
by Kevin W. Monroe
[wip] fix slaves handling in regiser_slaves; call _remote with appropriate relation; kv data is no longer autocommited on hook exit, so flush to disk after kv.set; dont force the namenode format so we dont accidentally reformat existing data |
85 |
# exposed_on: 'compute-slave-hdfs'
|
48
by Cory Johns
Updated charmhelpers to clean up port handling; improved DEV-README.md |
86 |
#nm_webapp_https:
|
87 |
# port: 8044
|
|
53.1.1
by Kevin W. Monroe
[wip] fix slaves handling in regiser_slaves; call _remote with appropriate relation; kv data is no longer autocommited on hook exit, so flush to disk after kv.set; dont force the namenode format so we dont accidentally reformat existing data |
88 |
# exposed_on: 'compute-slave-yarn'
|