-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathspark-hadoop-processing.yaml
95 lines (95 loc) · 2.21 KB
/
spark-hadoop-processing.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# This bundle is a PoC/demo, not highly available, and is specific to the
# particular set of hardware used in a demo. Further customization and
# important architectural decisions should be taken into consideration
# in each use case.
machines:
# Juju Bootstrap / Controller
"0":
constraints: arch=amd64 tags=demo
# Misc Admin Non-Big-Data
"1":
constraints: arch=amd64 tags=demo
# Misc Admin Non-Big-Data
"2":
constraints: arch=amd64 tags=demo
# NN - Apache Hadoop HDFS NameNode
"3":
constraints: arch=amd64 tags=demo
# RM - Apache Hadoop YARN Resource Manager
"4":
constraints: arch=amd64 tags=demo
# SP - Apache Spark Processing
"5":
constraints: arch=amd64 tags=demo
# SV - Apache Hadoop Slave
"6":
constraints: arch=amd64 tags=demo
# SV - Apache Hadoop Slave
"7":
constraints: arch=amd64 tags=demo
# SV - Apache Hadoop Slave
"8":
constraints: arch=amd64 tags=demo
# SV - Apache Hadoop Slave
"9":
constraints: arch=amd64 tags=demo
# SV - Apache Hadoop Slave
"10":
constraints: arch=amd64 tags=demo
series: xenial
services:
ubuntu:
charm: "cs:ubuntu"
num_units: 2
to: [1, 2]
namenode:
charm: "cs:~bigdata-dev/xenial/hadoop-namenode"
annotations:
gui-x: "300"
gui-y: "600"
num_units: 1
to: 3
resourcemanager:
charm: "cs:~bigdata-dev/xenial/hadoop-resourcemanager"
annotations:
gui-x: "300"
gui-y: "0"
num_units: 1
to: 4
spark:
charm: "cs:~bigdata-dev/xenial/spark"
annotations:
gui-x: "300"
gui-y: "300"
to: 5
slave:
charm: "cs:~bigdata-dev/xenial/hadoop-slave"
annotations:
gui-x: "0"
gui-y: "300"
num_units: 5
to: [6, 7, 8, 9, 10]
plugin:
charm: "cs:~bigdata-dev/xenial/hadoop-plugin"
annotations:
gui-x: "600"
gui-y: "300"
openjdk:
charm: "cs:xenial/openjdk"
annotations:
gui-x: "300"
gui-y: "300"
options:
java-type: "jdk"
java-major: "8"
relations:
- [resourcemanager, namenode]
- [namenode, slave]
- [resourcemanager, slave]
- [plugin, namenode]
- [plugin, resourcemanager]
- [plugin, spark]
- [openjdk, namenode]
- [openjdk, resourcemanager]
- [openjdk, slave]
- [openjdk, spark]