-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspark.drawio
230 lines (230 loc) · 19 KB
/
spark.drawio
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<mxfile host="app.diagrams.net" modified="2020-07-21T08:05:45.485Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36" etag="iMfOXhgGX4RMQQ001mVx" version="13.4.9" type="github">
<diagram id="fRb64ITn-hyFE03eq-Tl" name="Page-1">
<mxGraphModel dx="1541" dy="358" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="ptp_p24TcaEws-BEJlRB-4" value="<font style="font-size: 11px">Install&nbsp;<span style="color: rgb(50 , 50 , 50)">Analytics Engine powered by Apache Spark service</span></font><br>" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.503;entryY=0.078;entryDx=0;entryDy=0;entryPerimeter=0;align=left;" parent="1" source="ptp_p24TcaEws-BEJlRB-1" target="ptp_p24TcaEws-BEJlRB-3" edge="1">
<mxGeometry x="-0.7212" y="1" relative="1" as="geometry">
<mxPoint x="-8" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-1" value="Administrator" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" parent="1" vertex="1">
<mxGeometry x="-45" y="91" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-9" value="return result-set" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=none;startFill=0;" parent="1" source="ptp_p24TcaEws-BEJlRB-2" target="ptp_p24TcaEws-BEJlRB-11" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1040" y="610" />
<mxPoint x="1040" y="610" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-2" value="Spark" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
<mxGeometry x="1133" y="40" width="100" height="1040" as="geometry" />
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-1" value="read from virtual assets&nbsp;" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.506;entryY=0.232;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="ptp_p24TcaEws-BEJlRB-3" target="ptp_p24TcaEws-BEJlRB-2" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="560" y="281" />
<mxPoint x="560" y="281" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-3" value="CP4D cluster" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
<mxGeometry x="438" y="40" width="100" height="1040" as="geometry" />
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-7" value="<div style="text-align: left">submit a Job via Spark REST APIs</div>" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0.181;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="ptp_p24TcaEws-BEJlRB-5" target="ptp_p24TcaEws-BEJlRB-11" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-5" value="User" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" parent="1" vertex="1">
<mxGeometry x="-45" y="200" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-9" value="Job completes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ptp_p24TcaEws-BEJlRB-2" target="ptp_p24TcaEws-BEJlRB-2" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1270" y="250" />
<mxPoint x="1270" y="300" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-10" value="cleanup the cluster" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ptp_p24TcaEws-BEJlRB-2" target="ptp_p24TcaEws-BEJlRB-2" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1270" y="310" />
<mxPoint x="1270" y="370" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ptp_p24TcaEws-BEJlRB-11" target="ptp_p24TcaEws-BEJlRB-2" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1070" y="570" />
<mxPoint x="1070" y="570" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-13" value="created a dedicated spark&nbsp; cluster for the Job" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="ptp_p24TcaEws-BEJlRB-12" vertex="1" connectable="0">
<mxGeometry x="-0.2058" y="-1" relative="1" as="geometry">
<mxPoint x="26.07" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-8" value="code runs on Analytics Engine" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="ptp_p24TcaEws-BEJlRB-11" target="ptp_p24TcaEws-BEJlRB-2" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="770" y="580" as="sourcePoint" />
<mxPoint x="1009.5" y="566" as="targetPoint" />
<Array as="points">
<mxPoint x="1070" y="590" />
<mxPoint x="1070" y="590" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-11" value="Watson Studio" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
<mxGeometry x="720" y="40" width="100" height="1040" as="geometry" />
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;" parent="1" source="ptp_p24TcaEws-BEJlRB-14" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="330" y="220" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-14" value="<div style="font-size: 11px ; background-color: rgb(255 , 255 , 255) ; text-align: left"><span style="color: rgb(50 , 50 , 50)">specify the size of the Spark driver,&nbsp;</span></div><span style="font-size: 11px ; background-color: rgb(255 , 255 , 255) ; color: rgb(50 , 50 , 50)"><div style="text-align: left">the size of the executor,&nbsp;</div><div style="text-align: left">and the number of executors</div></span>" style="text;html=1;strokeColor=#666666;fillColor=#f5f5f5;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#333333;" parent="1" vertex="1">
<mxGeometry x="30" y="20" width="220" height="40" as="geometry" />
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.514;entryY=0.353;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="ptp_p24TcaEws-BEJlRB-16" target="ptp_p24TcaEws-BEJlRB-2" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-18" value="<div style="text-align: left"><span style="color: rgb(50 , 50 , 50)">get a list of the jobs you have submitted</span></div><font style="font-size: 11px"><div style="text-align: left"><span style="color: rgb(50 , 50 , 50)">view the status of a submitted job</span></div><span style="color: rgb(50 , 50 , 50)"><div style="text-align: left">download the Spark job driver logs for debugging purposes</div></span></font>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="ptp_p24TcaEws-BEJlRB-17" vertex="1" connectable="0">
<mxGeometry x="-0.1836" y="1" relative="1" as="geometry">
<mxPoint x="-85.34" y="1.0399999999999991" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-16" value="User" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" parent="1" vertex="1">
<mxGeometry x="-45" y="377" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="ptp_p24TcaEws-BEJlRB-19" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-15" y="694" as="sourcePoint" />
<mxPoint x="1182.5" y="739" as="targetPoint" />
<Array as="points">
<mxPoint x="-30" y="739" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-21" value="<div><span style="color: rgb(50 , 50 , 50)">Use the data skipping library to boost SQL query performance</span></div><font style="font-size: 11px"><div><span style="color: rgb(50 , 50 , 50)">use the geospatio-temporal library to include location analytics</span></div><span style="color: rgb(50 , 50 , 50)"><div>Parquet encryption and decryption</div></span></font>" style="edgeLabel;html=1;align=left;verticalAlign=middle;resizable=0;points=[];" parent="ptp_p24TcaEws-BEJlRB-20" vertex="1" connectable="0">
<mxGeometry x="-0.3269" y="3" relative="1" as="geometry">
<mxPoint x="-172.07" y="-0.01" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-19" value="User" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" parent="1" vertex="1">
<mxGeometry x="-45" y="712" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.491;entryY=0.549;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="ptp_p24TcaEws-BEJlRB-22" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="70" y="830" as="sourcePoint" />
<mxPoint x="487.0999999999999" y="830.96" as="targetPoint" />
<Array as="points">
<mxPoint x="80" y="831" />
<mxPoint x="80" y="831" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-24" value="Access spark history server" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="ptp_p24TcaEws-BEJlRB-23" vertex="1" connectable="0">
<mxGeometry x="-0.115" y="-18" relative="1" as="geometry">
<mxPoint x="-18" y="-18" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="ptp_p24TcaEws-BEJlRB-22" value="User" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" parent="1" vertex="1">
<mxGeometry x="-45" y="802" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-2" value="Data Virtualization layer" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
<mxGeometry x="570" y="40" width="100" height="1040" as="geometry" />
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-5" value="Create analytics project" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;align=left;" parent="1" edge="1">
<mxGeometry x="-0.4263" y="120" relative="1" as="geometry">
<mxPoint x="-15" y="505" as="sourcePoint" />
<mxPoint x="769.5" y="505" as="targetPoint" />
<Array as="points">
<mxPoint x="210" y="505" />
<mxPoint x="210" y="505" />
</Array>
<mxPoint x="-120" y="120" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-7" value="Run code blocks" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="WIxMcaQrRro8mzeanzOV-4" edge="1">
<mxGeometry x="-0.5616" relative="1" as="geometry">
<mxPoint x="771" y="560" as="targetPoint" />
<Array as="points">
<mxPoint x="-30" y="560" />
<mxPoint x="771" y="560" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-11" value="<div style="text-align: left">Create a Jupyter notebook or Data Refinery Flow</div><div style="text-align: left">Define Environment definition as spark</div>" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.501;entryY=0.469;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=none;startFill=0;" parent="1" source="WIxMcaQrRro8mzeanzOV-4" target="ptp_p24TcaEws-BEJlRB-11" edge="1">
<mxGeometry x="-0.3758" y="20" relative="1" as="geometry">
<Array as="points">
<mxPoint x="230" y="528" />
<mxPoint x="230" y="528" />
</Array>
<mxPoint x="-20" y="20" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-14" value="Deploy a ML model and use spark as the framework" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=none;startFill=0;" parent="1" source="WIxMcaQrRro8mzeanzOV-4" target="WIxMcaQrRro8mzeanzOV-12" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-30" y="650" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-4" value="<font style="font-size: 11px">User</font>" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" parent="1" vertex="1">
<mxGeometry x="-45" y="480" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-15" value="runs" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=none;startFill=0;" parent="1" source="WIxMcaQrRro8mzeanzOV-12" target="ptp_p24TcaEws-BEJlRB-2" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1040" y="670" />
<mxPoint x="1040" y="670" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="WIxMcaQrRro8mzeanzOV-12" value="Watson ML" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;collapsible=0;recursiveResize=0;outlineConnect=0;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
<mxGeometry x="920" y="40" width="100" height="1040" as="geometry" />
</mxCell>
<mxCell id="IpGZjdTOuHGOY6pWi05_-4" value="Create new spark environment (Elastic or specify CPU, GPU and RAM to reserve)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;align=left;" parent="1" source="IpGZjdTOuHGOY6pWi05_-3" edge="1">
<mxGeometry x="-0.1281" y="270" relative="1" as="geometry">
<mxPoint x="770" y="320" as="targetPoint" />
<Array as="points">
<mxPoint x="330" y="320" />
<mxPoint x="330" y="320" />
</Array>
<mxPoint x="-270" y="270" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="IpGZjdTOuHGOY6pWi05_-3" value="Admin or Editor role" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" parent="1" vertex="1">
<mxGeometry x="-40" y="290" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="rc2Kb1e5JDHnzzm5_iBr-2" value="<div style="text-align: left">Using CP4D Volumes API</div><div style="text-align: left">Create a volume</div><div style="text-align: left">Create a volume in an existing PVC</div><div style="text-align: left"><br></div>" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.482;entryY=0.85;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" target="ptp_p24TcaEws-BEJlRB-3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-10" y="924.0285714285715" as="sourcePoint" />
<mxPoint x="489.4000000000001" y="931.52" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
<mxCell id="rc2Kb1e5JDHnzzm5_iBr-3" value="Give access to a volume<br>Generate an instance token for the volume" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="rc2Kb1e5JDHnzzm5_iBr-4">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="1010" as="targetPoint" />
<Array as="points">
<mxPoint x="-25" y="1010" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="rc2Kb1e5JDHnzzm5_iBr-1" value="User with create service instance permission" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" vertex="1" parent="1">
<mxGeometry x="-40" y="895" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="rc2Kb1e5JDHnzzm5_iBr-4" value="Admin access to the specified volume" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" vertex="1" parent="1">
<mxGeometry x="-45" y="980" width="30" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>