You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2020/02/13 08:40:04 UTC
[spark] branch branch-3.0 updated: [SPARK-30743][K8S][TESTS] Use
JRE instead of JDK in K8S test docker image
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new a2c4633 [SPARK-30743][K8S][TESTS] Use JRE instead of JDK in K8S test docker image
a2c4633 is described below
commit a2c46334d44355f022e0498b8e2de71d7c91a533
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Wed Feb 5 16:55:45 2020 -0800
[SPARK-30743][K8S][TESTS] Use JRE instead of JDK in K8S test docker image
### What changes were proposed in this pull request?
This PR aims to replace JDK to JRE in K8S integration test docker images.
### Why are the changes needed?
This will save some resources and make it sure that we only need JRE at runtime and testing.
- https://lists.apache.org/thread.html/3145150b711d7806a86bcd3ab43e18bcd0e4892ab5f11600689ba087%40%3Cdev.spark.apache.org%3E
### Does this PR introduce any user-facing change?
No. This is a dev-only test environment.
### How was this patch tested?
Pass the Jenkins K8s Integration Test.
- https://github.com/apache/spark/pull/27469#issuecomment-582681125
Closes #27469 from dongjoon-hyun/SPARK-30743.
Authored-by: Dongjoon Hyun <dh...@apple.com>
Signed-off-by: Dongjoon Hyun <dh...@apple.com>
(cherry picked from commit 9d907bc84df2f6f7e1abdb810b761a65ac6ce064)
Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
.../kubernetes/docker/src/main/dockerfiles/spark/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile b/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
index b6eeff1..a1fc637 100644
--- a/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
+++ b/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
@@ -15,7 +15,7 @@
# limitations under the License.
#
-FROM openjdk:8-jdk-slim
+FROM openjdk:8-jre-slim
ARG spark_uid=185
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org