1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
options:
source:
type: string
default: stable
description: |
Location and packages to install hbase:
.
* dev: Install using the hbase packages from
ppa:hadoop-ubuntu/dev.
* testing: Install using the hbase packages from
ppa:hadoop-ubuntu/testing.
* stable: Install using the hbase packages from
ppa:hadoop-ubuntu/stable.
.
The packages provided in the hadoop-ubuntu team PPA's are based
directly on upstream hbase releases but are not fully built from
source.
heap:
type: int
default: 1024
description: |
The maximum heap size in MB to allocate for daemons processes within the
service units managed by this charm.
.
The recommended configurations vary based on role:
.
* Master: 4GB.
* RegionServer: 12GB, or the majority of available memory.
.
The above recommendations are taken from HBase: The Definitive Guide by
Lars George.
.
Obviously you need to ensure that the servers supporting each service unit
have sufficient memory to accomodate this setting - it should be no more
than 75% of the total memory in the system excluding swap.
pig:
type: boolean
default: False
description: |
To install Apache Pig on all service units alongside Hadoop set this
configuration to 'True'.
.
Apache Pig is a platform for analyzing large data sets that consists
of a high-level language for expressing data analysis programs, coupled
with infrastructure for evaluating these programs. The salient property
of Pig programs is that their structure is amenable to substantial
parallelization, which in turns enables them to handle very large data
sets.
|