slfan1989 opened a new issue, #2407:
URL: https://github.com/apache/auron/issues/2407
## Description
The Docker build example printed by `./auron-build.sh --help` combines
Spark 4.1 with the `centos7` build image:
```bash
./auron-build.sh --docker true --image centos7 \
--clean true --skiptests true --release \
--sparkver 4.1 --scalaver 2.13
```
The `centos7` image uses JDK 8, while Spark 4.1 requires JDK 17 or higher.
As a result, users following the example receive an error similar
to:
```
Spark 4.1 requires JDK 17 or higher.
Current: 1.8.0_412
```
The example also enables optional Iceberg and Hudi integrations. These
integrations do not share a compatible Spark 4.1 configuration, so the example
can fail during argument validation before the build starts.
## Expected behavior
The help output should provide a basic, valid Docker build example for Spark
4.1.
The example should:
- use a Docker image that supports JDK 17 or higher;
- use Scala 2.13;
- avoid enabling optional integrations with incompatible Spark version
requirements.
For example:
```
./auron-build.sh --docker true --image rockylinux8 \
--clean true --skiptests true --release \
--sparkver 4.1 --scalaver 2.13
```
--
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]