Skip to content

Commit

Permalink
Update Spark version references across all app
Browse files Browse the repository at this point in the history
  • Loading branch information
pdambrauskas committed Apr 14, 2023
1 parent 44b6d00 commit 9fc26b0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ jobs:
strategy:
matrix:
include:
- spark_version: 3.2.3
- spark_version: 3.2.4
hadoop_version: 3.2
- spark_version: 3.3.2
hadoop_version: 3
- spark_version: 3.4.0
hadoop_version: 3
steps:
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:11-jre-slim-stretch as server

ARG SPARK_VERSION=3.3.2
ARG SPARK_VERSION=3.4.0
ARG HADOOP_VERSION=3

WORKDIR /home/app/
Expand All @@ -11,7 +11,7 @@ RUN ./gradlew build -x test -PSPARK_VERSION=${SPARK_VERSION}

FROM node:lts-alpine3.14 as frontend

ARG SPARK_VERSION=3.3.2
ARG SPARK_VERSION=3.4.0
ARG HADOOP_VERSION=3

ENV REACT_APP_API_BASE_URL='/lighter'
Expand All @@ -25,7 +25,7 @@ RUN yarn install && yarn build

FROM openjdk:11-jre-slim-stretch

ARG SPARK_VERSION=3.3.2
ARG SPARK_VERSION=3.4.0
ARG HADOOP_VERSION=3

ENV FRONTEND_PATH=/home/app/frontend/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ docker build -t lighter .

### Spark versions

Lighter will always try to support the latest patch version for all officially recommended [Apache Spark](https://spark.apache.org/) releases i.e.: 3.2.3 and 3.3.2.
Lighter will always try to support the latest patch version for all officially recommended [Apache Spark](https://spark.apache.org/) releases i.e.: 3.2.4, 3.3.2 and 3.4.0.

### Contributing

Expand Down
2 changes: 1 addition & 1 deletion docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
If you're thinking of running Lighter on docker, you are probably using it with YARN backend. When you are running it, you should expose two ports (REST API port and Python Gateway port), as shown in this example:

```bash
docker run ghcr.io/exacaster/lighter:0.0.42-spark3.3.2 \
docker run ghcr.io/exacaster/lighter:0.0.45-spark3.4.0 \
-p 8080:8080 \
-p 25333:25333 \
-e LIGHTER_KUBERNETES_ENABLED=false \
Expand Down
2 changes: 1 addition & 1 deletion quickstart/jupyterlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ data:
"{\n",
" \"name\": \"Test Lighter\",\n",
" \"conf\":{\n",
" \"spark.kubernetes.container.image\": \"apache/spark-py:v3.3.2\"\n",
" \"spark.kubernetes.container.image\": \"apache/spark-py:v3.4.0\"\n",
" }\n",
"}"
]
Expand Down
2 changes: 1 addition & 1 deletion quickstart/lighter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
run: lighter
spec:
containers:
- image: ghcr.io/exacaster/lighter:0.0.42-spark3.3.2
- image: ghcr.io/exacaster/lighter:0.0.45-spark3.4.0
name: lighter
readinessProbe:
httpGet:
Expand Down

0 comments on commit 9fc26b0

Please sign in to comment.