Skip to content

Commit 67f81c9

Browse files
committed
feat(spark): add entrypoint script for connect servers
1 parent 54ce0e8 commit 67f81c9

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ All notable changes to this project will be documented in this file.
3131
`check-permissions-ownership.sh` provided in stackable-base image ([#1025]).
3232
- zookeeper: check for correct permissions and ownerships in /stackable folder via
3333
`check-permissions-ownership.sh` provided in stackable-base image ([#1043]).
34+
- spark-k8s: add entrypoint script for Connect servers ([#1059]).
3435

3536
### Changed
3637

@@ -75,6 +76,7 @@ All notable changes to this project will be documented in this file.
7576
[#1054]: https://github.com/stackabletech/docker-images/pull/1054
7677
[#1055]: https://github.com/stackabletech/docker-images/pull/1055
7778
[#1056]: https://github.com/stackabletech/docker-images/pull/1056
79+
[#1059]: https://github.com/stackabletech/docker-images/pull/1059
7880

7981
## [25.3.0] - 2025-03-21
8082

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
eval "$_STACKABLE_PRE_HOOK"
4+
5+
containerdebug --output=/stackable/log/containerdebug-state.json --loop &
6+
7+
/stackable/spark/sbin/start-connect-server.sh \
8+
--deploy-mode client \
9+
--master k8s://https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS} \
10+
--properties-file /stackable/spark/conf/spark-defaults.conf "$@"
11+
12+
result=$?
13+
14+
eval "$_STACKABLE_POST_HOOK"
15+
16+
exit $result

0 commit comments

Comments
 (0)