dongjoon-hyun commented on code in PR #43324:
URL: https://github.com/apache/spark/pull/43324#discussion_r1354139948


##########
resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile:
##########
@@ -49,6 +49,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

Review Comment:
   No~ The symbolic link file is created at `jar` directory.
   ```
   $ docker run -it --rm spark:latest ls -al /opt/spark/examples/jars  | tail 
-n6
   total 1620
   drwxr-xr-x 1 root root    4096 Oct 11 04:37 .
   drwxr-xr-x 1 root root    4096 Sep  9 02:08 ..
   -rw-r--r-- 1 root root   78803 Sep  9 02:08 scopt_2.12-3.7.1.jar
   -rw-r--r-- 1 root root 1564255 Sep  9 02:08 spark-examples_2.12-3.5.0.jar
   lrwxrwxrwx 1 root root      29 Oct 11 04:37 spark-examples.jar -> 
spark-examples_2.12-3.5.0.jar
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to