Skip to content

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Aug 5, 2024

What changes were proposed in this pull request?

This PR aims to fix docker-image-tool.sh to be up-to-date.

Why are the changes needed?

Apache Spark 4 dropped Java 11 support. So, we should fix the following.

-  - Build and push Java11-based image with tag "v3.4.0" to docker.io/myrepo
+  - Build and push Java17-based image with tag "v4.0.0" to docker.io/myrepo

Apache Spark 4 requires JDK instead of JRE. So, we should fix the following.

-    $0 -r docker.io/myrepo -t v3.4.0 -b java_image_tag=11-jre build
+    $0 -r docker.io/myrepo -t v4.0.0 -b java_image_tag=17 build

Lastly, 3.4.0 is too old because it's released on April 13, 2023. We had better use v4.0.0.

-    $0 -r docker.io/myrepo -t v3.4.0 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build
+    $0 -r docker.io/myrepo -t v4.0.0 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build

Does this PR introduce any user-facing change?

No functional change because this is a usage message.

How was this patch tested?

Manual review.

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

No.

@github-actions github-actions bot added the BUILD label Aug 5, 2024
@dongjoon-hyun
Copy link
Member Author

Could you review this when you have some time, @viirya ?

Copy link
Member

@viirya viirya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya !

@HyukjinKwon
Copy link
Member

Merged to master.

@dongjoon-hyun
Copy link
Member Author

Thank you, @HyukjinKwon .

@dongjoon-hyun dongjoon-hyun deleted the SPARK-49117 branch August 6, 2024 02:27
fusheng9399 pushed a commit to fusheng9399/spark that referenced this pull request Aug 6, 2024
### What changes were proposed in this pull request?

This PR aims to fix `docker-image-tool.sh` to be up-to-date.

### Why are the changes needed?

Apache Spark 4 dropped Java 11 support. So, we should fix the following.
- apache#43005
```
-  - Build and push Java11-based image with tag "v3.4.0" to docker.io/myrepo
+  - Build and push Java17-based image with tag "v4.0.0" to docker.io/myrepo
```

Apache Spark 4 requires JDK instead of JRE. So, we should fix the following.
- apache#45761
```
-    $0 -r docker.io/myrepo -t v3.4.0 -b java_image_tag=11-jre build
+    $0 -r docker.io/myrepo -t v4.0.0 -b java_image_tag=17 build
```

Lastly, `3.4.0` is too old because it's released on April 13, 2023. We had better use v4.0.0.
```
-    $0 -r docker.io/myrepo -t v3.4.0 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build
+    $0 -r docker.io/myrepo -t v4.0.0 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build
```

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

No functional change because this is a usage message.

### How was this patch tested?

Manual review.

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

No.

Closes apache#47618 from dongjoon-hyun/SPARK-49117.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
attilapiros pushed a commit to attilapiros/spark that referenced this pull request Oct 4, 2024
### What changes were proposed in this pull request?

This PR aims to fix `docker-image-tool.sh` to be up-to-date.

### Why are the changes needed?

Apache Spark 4 dropped Java 11 support. So, we should fix the following.
- apache#43005
```
-  - Build and push Java11-based image with tag "v3.4.0" to docker.io/myrepo
+  - Build and push Java17-based image with tag "v4.0.0" to docker.io/myrepo
```

Apache Spark 4 requires JDK instead of JRE. So, we should fix the following.
- apache#45761
```
-    $0 -r docker.io/myrepo -t v3.4.0 -b java_image_tag=11-jre build
+    $0 -r docker.io/myrepo -t v4.0.0 -b java_image_tag=17 build
```

Lastly, `3.4.0` is too old because it's released on April 13, 2023. We had better use v4.0.0.
```
-    $0 -r docker.io/myrepo -t v3.4.0 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build
+    $0 -r docker.io/myrepo -t v4.0.0 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build
```

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

No functional change because this is a usage message.

### How was this patch tested?

Manual review.

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

No.

Closes apache#47618 from dongjoon-hyun/SPARK-49117.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
himadripal pushed a commit to himadripal/spark that referenced this pull request Oct 19, 2024
### What changes were proposed in this pull request?

This PR aims to fix `docker-image-tool.sh` to be up-to-date.

### Why are the changes needed?

Apache Spark 4 dropped Java 11 support. So, we should fix the following.
- apache#43005
```
-  - Build and push Java11-based image with tag "v3.4.0" to docker.io/myrepo
+  - Build and push Java17-based image with tag "v4.0.0" to docker.io/myrepo
```

Apache Spark 4 requires JDK instead of JRE. So, we should fix the following.
- apache#45761
```
-    $0 -r docker.io/myrepo -t v3.4.0 -b java_image_tag=11-jre build
+    $0 -r docker.io/myrepo -t v4.0.0 -b java_image_tag=17 build
```

Lastly, `3.4.0` is too old because it's released on April 13, 2023. We had better use v4.0.0.
```
-    $0 -r docker.io/myrepo -t v3.4.0 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build
+    $0 -r docker.io/myrepo -t v4.0.0 -p kubernetes/dockerfiles/spark/bindings/python/Dockerfile build
```

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

No functional change because this is a usage message.

### How was this patch tested?

Manual review.

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

No.

Closes apache#47618 from dongjoon-hyun/SPARK-49117.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants