Skip to content

Commit

Permalink
[SPARK-50192][K8S] Simplify symbolic link creation of `spark-examples…
Browse files Browse the repository at this point in the history
….jar`

### What changes were proposed in this pull request?

This PR aims to simplify symbolic link creation of `spark-examples.jar` according to the downstream `docker-library` and `spark-docker` repository change.

### Why are the changes needed?

- `docker-library`
  - docker-library/official-images#17622 (comment)

- `spark-docker`
  - apache/spark-docker#73
  - apache/spark-docker#74
  - apache/spark-docker#76

### Does this PR introduce _any_ user-facing change?

No behavior change.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #48723 from dongjoon-hyun/SPARK-50192.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
  • Loading branch information
dongjoon-hyun committed Oct 31, 2024
1 parent a84e681 commit f1c7aa0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ COPY sbin /opt/spark/sbin
COPY kubernetes/dockerfiles/spark/entrypoint.sh /opt/
COPY kubernetes/dockerfiles/spark/decom.sh /opt/
COPY examples /opt/spark/examples
RUN ln -s $(basename $(ls /opt/spark/examples/jars/spark-examples_*.jar)) /opt/spark/examples/jars/spark-examples.jar
RUN ln -s $(basename /opt/spark/examples/jars/spark-examples_*.jar) /opt/spark/examples/jars/spark-examples.jar
COPY kubernetes/tests /opt/spark/tests
COPY data /opt/spark/data

Expand Down

0 comments on commit f1c7aa0

Please sign in to comment.