blob: b923687e2d91c598d7407a439a4c13e02839a0cc (
plain)
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
|
options:
driver_memory:
type: string
default: '1g'
description: |
Specify gigabytes (e.g. 1g) or megabytes (e.g. 1024m). If running
in 'local' or 'standalone' mode, you may also specify a percentage
of total system memory (e.g. 50%).
executor_memory:
type: string
default: '1g'
description: |
Specify gigabytes (e.g. 1g) or megabytes (e.g. 1024m). If running
in 'local' or 'standalone' mode, you may also specify a percentage
of total system memory (e.g. 50%).
spark_bench_enabled:
type: boolean
default: true
description: |
When set to 'true' (the default), this charm will download and
install the SparkBench benchmark suite from the configured URLs.
When set to 'false', SparkBench will be removed from the unit,
though any data stored in hdfs:///user/ubuntu/spark-bench will be
preserved.
spark_bench_ppc64le:
type: string
default: 'https://s3.amazonaws.com/jujubigdata/ibm/noarch/SparkBench-2.0-20170403.tgz#sha256=709caec6667dd82e42de25eb8bcd5763ca894e99e5c83c97bdfcf62cb1aa00c8'
description: |
URL (including hash) of a ppc64le tarball of SparkBench. By
default, this points to a pre-built SparkBench binary based on
sources in the upstream repository. This option is only valid when
'spark_bench_enabled' is 'true'.
spark_bench_x86_64:
type: string
default: 'https://s3.amazonaws.com/jujubigdata/ibm/noarch/SparkBench-2.0-20170403.tgz#sha256=709caec6667dd82e42de25eb8bcd5763ca894e99e5c83c97bdfcf62cb1aa00c8'
description: |
URL (including hash) of an x86_64 tarball of SparkBench. By
default, this points to a pre-built SparkBench binary based on
sources in the upstream repository. This option is only valid when
'spark_bench_enabled' is 'true'.
spark_execution_mode:
type: string
default: 'standalone'
description: |
Options are "local", "standalone", "yarn-client", and
"yarn-cluster". Consult the readme for details on these options.
|