@@ -22,15 +22,15 @@ environment:
22
22
SPARK_LOG_DIR : /var/log/spark
23
23
24
24
services :
25
- entrypoint :
26
- command : " /bin/bash /opt/pebble/charmed-spark-entrypoint .sh"
25
+ sparkd :
26
+ command : " /bin/bash /opt/pebble/sparkd .sh"
27
27
summary : " This is the service to startup Spark processes using the Spark entrypoint"
28
28
override : replace
29
29
startup : enabled
30
30
on-success : shutdown
31
31
on-failure : shutdown
32
32
history-server :
33
- command : " /bin/bash /opt/pebble/charmed-spark- history-server.sh"
33
+ command : " /bin/bash /opt/pebble/history-server.sh"
34
34
summary : " This is the Spark History Server service"
35
35
override : replace
36
36
startup : disabled
@@ -39,20 +39,12 @@ services:
39
39
environment :
40
40
SPARK_PROPERTIES_FILE : /etc/spark8t/conf/spark-defaults.conf
41
41
thrift-server :
42
- command : " /bin/bash /opt/pebble/charmed-spark- thrift-server.sh"
42
+ command : " /bin/bash /opt/pebble/thrift-server.sh"
43
43
summary : " This is the Spark Thrift Server service"
44
44
override : replace
45
45
startup : disabled
46
46
environment :
47
47
SPARK_PROPERTIES_FILE : /etc/spark8t/conf/spark-defaults.conf
48
- jupyter :
49
- command : " spark-client.pyspark [ --username spark --namespace spark ]"
50
- summary : " This is the Spark-powered Jupyter service"
51
- override : replace
52
- startup : disabled
53
- environment :
54
- PYSPARK_DRIVER_PYTHON : jupyter
55
- PYSPARK_DRIVER_PYTHON_OPTS : " lab --no-browser --port=8888 --ip=0.0.0.0 --NotebookApp.token='' --notebook-dir=/var/lib/spark/notebook"
56
48
57
49
parts :
58
50
spark :
@@ -146,20 +138,6 @@ parts:
146
138
stage :
147
139
- opt/spark8t/python/dist
148
140
149
- jupyter :
150
- plugin : python
151
- source : .
152
- python-packages :
153
- - jupyterlab
154
- stage-packages :
155
- - python3-venv
156
- organize :
157
- lib : usr/lib
158
- bin : usr/bin
159
- share : usr/share
160
- stage :
161
- - usr
162
-
163
141
kubectl :
164
142
plugin : nil
165
143
build-packages :
@@ -187,18 +165,18 @@ parts:
187
165
source : files/spark
188
166
organize :
189
167
conf/spark-defaults.conf : etc/spark8t/conf/spark-defaults.conf
190
- bin/charmed-spark-entrypoint .sh : opt/pebble/charmed-spark-entrypoint .sh
191
- bin/charmed-spark- history-server.sh : opt/pebble/charmed-spark- history-server.sh
192
- bin/charmed-spark- thrift-server.sh : opt/pebble/charmed-spark- thrift-server.sh
168
+ bin/sparkd .sh : opt/pebble/sparkd .sh
169
+ bin/history-server.sh : opt/pebble/history-server.sh
170
+ bin/thrift-server.sh : opt/pebble/thrift-server.sh
193
171
bin/spark-client.pyspark : opt/spark-client/python/bin/spark-client.pyspark
194
172
bin/spark-client.service-account-registry : opt/spark-client/python/bin/spark-client.service-account-registry
195
173
bin/spark-client.spark-shell : opt/spark-client/python/bin/spark-client.spark-shell
196
174
bin/spark-client.spark-submit : opt/spark-client/python/bin/spark-client.spark-submit
197
175
stage :
198
176
- etc/spark8t/conf/
199
- - opt/pebble/charmed-spark-entrypoint .sh
200
- - opt/pebble/charmed-spark- history-server.sh
201
- - opt/pebble/charmed-spark- thrift-server.sh
177
+ - opt/pebble/sparkd .sh
178
+ - opt/pebble/history-server.sh
179
+ - opt/pebble/thrift-server.sh
202
180
- opt/spark-client/python/bin/spark-client.pyspark
203
181
- opt/spark-client/python/bin/spark-client.service-account-registry
204
182
- opt/spark-client/python/bin/spark-client.spark-shell
0 commit comments