Skip to content

Commit daa6f94

Browse files
committed
[SPARK-49701] Use JDK for Spark 3.5+ Docker image
### What changes were proposed in this pull request? This PR aims to use JDK for Spark 3.5+ Docker image. Apache Spark Dockerfile are updated already. - apache/spark#45762 - apache/spark#45761 ### Why are the changes needed? Since Apache Spark 3.5.0, SPARK-44153 starts to use `jmap` like the following. - apache/spark#41709 https://github.com/apache/spark/blob/c832e2ac1d04668c77493577662c639785808657/core/src/main/scala/org/apache/spark/util/Utils.scala#L2030 ### Does this PR introduce _any_ user-facing change? Yes, the user can use `Heap Histogram` feature. ### How was this patch tested? Pass the CIs. Closes #66 from dongjoon-hyun/SPARK-49701. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent 6f10acb commit daa6f94

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

3.5.0/scala2.12-java17-ubuntu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
FROM eclipse-temurin:17-jre-jammy
17+
FROM eclipse-temurin:17-jammy
1818

1919
ARG spark_uid=185
2020

3.5.1/scala2.12-java17-ubuntu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
FROM eclipse-temurin:17-jre-jammy
17+
FROM eclipse-temurin:17-jammy
1818

1919
ARG spark_uid=185
2020

3.5.2/scala2.12-java17-ubuntu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
FROM eclipse-temurin:17-jre-jammy
17+
FROM eclipse-temurin:17-jammy
1818

1919
ARG spark_uid=185
2020

4.0.0-preview1/scala2.13-java17-ubuntu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
FROM eclipse-temurin:17-jre-jammy
17+
FROM eclipse-temurin:17-jammy
1818

1919
ARG spark_uid=185
2020

add-dockerfiles.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ for TAG in $TAGS; do
7272
fi
7373

7474
if echo $TAG | grep -q "java17"; then
75-
OPTS+=" --java-version 17 --image eclipse-temurin:17-jre-jammy"
75+
OPTS+=" --java-version 17 --image eclipse-temurin:17-jammy"
7676
elif echo $TAG | grep -q "java11"; then
7777
OPTS+=" --java-version 11 --image eclipse-temurin:11-jre-focal"
7878
fi

0 commit comments

Comments
 (0)