Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
82d4947
Remove jdk8 from CI layer
Akshat-Jain Nov 11, 2024
afaab17
Update docker images
Akshat-Jain Nov 11, 2024
229f93f
Fix spotbugs check: RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE
Akshat-Jain Nov 11, 2024
7675c1f
Update java version in pom.xml files
Akshat-Jain Nov 11, 2024
f0ccdca
Fix compilation issues because of javax.annotation not existing in up…
Akshat-Jain Nov 11, 2024
b60238c
Fix static-checks: Unsupported class file major version 55
Akshat-Jain Nov 11, 2024
bbccb60
Fix static-checks: grpc-query extension issues
Akshat-Jain Nov 11, 2024
4c40ec0
Fix spotbugs check: VO_VOLATILE_INCREMENT
Akshat-Jain Nov 11, 2024
4ddeb2d
Fix spotbugs check: NP_NONNULL_PARAM_VIOLATION
Akshat-Jain Nov 11, 2024
87ff5b6
Trigger Build
Akshat-Jain Nov 11, 2024
1d70a4f
Handle animal-sniffer-maven-plugin issues with java.nio.* classes
Akshat-Jain Nov 11, 2024
ea17aa1
Handle issues with blocked repository URLs by adding mirror
Akshat-Jain Nov 11, 2024
6d127c1
Move the mirror to parent pom.xml
Akshat-Jain Nov 11, 2024
cbdcdde
Update Guice to 4.2.2 to support Java 11
Akshat-Jain Nov 11, 2024
2db9397
Update guice version in licenses.yaml file
Akshat-Jain Nov 11, 2024
f9c1adb
Fix mvn analyze check error: Unused declared dependencies found com.g…
Akshat-Jain Nov 11, 2024
5152c83
Fix druid-compressed-bigdecimal tests
Akshat-Jain Nov 11, 2024
3708c0b
Change intellij xml file to use java 11
Akshat-Jain Nov 11, 2024
d8234db
Update docs
Akshat-Jain Nov 13, 2024
2c7ddad
Improve doc line
Akshat-Jain Nov 13, 2024
c710df0
Merge commit
Akshat-Jain Nov 13, 2024
a9a194f
Add check for Java 11 that was removed by mistake
Akshat-Jain Nov 14, 2024
b6e2e4f
Change default to Java 17: draft commit v1
Akshat-Jain Nov 15, 2024
49af889
Exclude spotbugs failure patterns
Akshat-Jain Nov 15, 2024
68783e1
Update licenses.yaml
Akshat-Jain Nov 15, 2024
81c3ef5
Set release version as Java 11
Akshat-Jain Nov 15, 2024
2505257
Change docker image in distribution Dockerfile
Akshat-Jain Nov 15, 2024
6f637f8
Change java.version to 11 in pom.xml
Akshat-Jain Nov 15, 2024
259f2d4
This reverts commit 68783e1b894725ff42a96b9ecfa5eb0de355fa59.
Akshat-Jain Nov 15, 2024
7241a87
Downgrade spotbugs back to 4.2.2
Akshat-Jain Nov 15, 2024
7958132
Remove redundant add-opens
Akshat-Jain Nov 15, 2024
b53b1f8
Revert "Downgrade spotbugs back to 4.2.2"
Akshat-Jain Nov 15, 2024
534e185
Address Guice related review comments
Akshat-Jain Nov 18, 2024
b1022aa
Remove javac.target from benchmarks/pom.xml
Akshat-Jain Nov 18, 2024
46f495b
Remove source and target in favor of maven.compiler.release
Akshat-Jain Nov 18, 2024
42a3da3
Fix revised ITs by adding add-opens JVM args
Akshat-Jain Nov 18, 2024
a47f575
Swap build_jdk and runtime_jdk for the experimental test
Akshat-Jain Nov 18, 2024
f3bd3a6
Specify target JDK for maven-pmd-plugin
Akshat-Jain Nov 18, 2024
5a5d859
Revert "Address Guice related review comments"
Akshat-Jain Nov 18, 2024
6abf4d7
Revert "Revert "Address Guice related review comments""
Akshat-Jain Nov 18, 2024
f57c64d
Try adding scope provided to guice dependencies
Akshat-Jain Nov 18, 2024
41bd77e
Try reverting Guice changes: Attempt 1
Akshat-Jain Nov 18, 2024
2dd49d9
Try reverting Guice changes: Attempt 2
Akshat-Jain Nov 18, 2024
0a59602
Revert back to working version of Guice
Akshat-Jain Nov 18, 2024
3ab9134
Trigger Build
Akshat-Jain Nov 18, 2024
88183be
Trigger Build: Attempt 2
Akshat-Jain Nov 18, 2024
12f63cf
Try maven 3.8.4 image to see if it helps with multithreading flakes
Akshat-Jain Nov 18, 2024
65d40b5
Trigger Build
Akshat-Jain Nov 18, 2024
11a7323
Trigger Build: Attempt 2
Akshat-Jain Nov 18, 2024
9ce2409
Address Guice related review comments
Akshat-Jain Nov 18, 2024
71825a0
Trigger Build
Akshat-Jain Nov 18, 2024
2d211b7
Trigger Build: Attempt 2
Akshat-Jain Nov 18, 2024
d1bf1b7
Remove java-9+ profile
Akshat-Jain Nov 19, 2024
a40b0d3
Run revised-it test suite only for JDK 17
Akshat-Jain Nov 19, 2024
c6f2364
Add strong encapsulation args to int-tests-config-file profile
Akshat-Jain Nov 19, 2024
e684f3c
Trigger Build
Akshat-Jain Nov 19, 2024
2098c64
Update maven-dependency-plugin and maven-pmd-plugin
Akshat-Jain Nov 20, 2024
0c17ece
Fix ITMultiStageQueryWorkerFaultTolerance
Akshat-Jain Nov 20, 2024
df87670
Fix ITMultiStageQueryWorkerFaultTolerance: Attempt 2
Akshat-Jain Nov 20, 2024
4daeb03
Trigger Build
Akshat-Jain Nov 20, 2024
0286898
Revert change of MsqTestQueryHelper
Akshat-Jain Nov 20, 2024
3cd2e6d
Remove java17 from the matrix of 2nd phase of unit tests
Akshat-Jain Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '8'
java-version: '17'
cache: 'maven'

# Initializes the CodeQL tools for scanning.
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/cron-job-its.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:
jobs:
build:
if: (github.event_name == 'schedule' && github.repository == 'apache/druid')
name: build (jdk8)
name: build (jdk17)
runs-on: ubuntu-latest
steps:
- name: Checkout branch
Expand All @@ -37,7 +37,7 @@ jobs:
- name: setup java
uses: actions/setup-java@v4
with:
java-version: '8'
java-version: '17'
distribution: 'zulu'

- name: Cache Maven m2 repository
Expand All @@ -60,8 +60,8 @@ jobs:
uses: ./.github/workflows/reusable-standard-its.yml
needs: build
with:
build_jdk: 8
runtime_jdk: 11
build_jdk: 17
runtime_jdk: 21.0.4
testing_groups: -Dgroups=${{ matrix.testing_group }}
use_indexer: middleManager
group: ${{ matrix.testing_group }}
Expand All @@ -74,8 +74,8 @@ jobs:
uses: ./.github/workflows/reusable-standard-its.yml
needs: build
with:
build_jdk: 8
runtime_jdk: 11
build_jdk: 17
runtime_jdk: 21.0.4
testing_groups: -Dgroups=${{ matrix.testing_group }}
use_indexer: indexer
group: ${{ matrix.testing_group }}
Expand All @@ -88,8 +88,8 @@ jobs:
uses: ./.github/workflows/reusable-standard-its.yml
needs: build
with:
build_jdk: 8
runtime_jdk: 11
build_jdk: 17
runtime_jdk: 21.0.4
testing_groups: -Dgroups=${{ matrix.testing_group }}
use_indexer: middleManager
override_config_path: ./environment-configs/test-groups/prepopulated-data
Expand All @@ -103,8 +103,8 @@ jobs:
uses: ./.github/workflows/reusable-standard-its.yml
needs: build
with:
build_jdk: 8
runtime_jdk: 11
build_jdk: 17
runtime_jdk: 21.0.4
testing_groups: -DexcludedGroups=batch-index,input-format,input-source,perfect-rollup-parallel-batch-index,kafka-index,query,query-retry,query-error,realtime-index,security,ldap-security,s3-deep-storage,gcs-deep-storage,azure-deep-storage,hdfs-deep-storage,s3-ingestion,kinesis-index,kinesis-data-format,kafka-transactional-index,kafka-index-slow,kafka-transactional-index-slow,kafka-data-format,hadoop-s3-to-s3-deep-storage,hadoop-s3-to-hdfs-deep-storage,hadoop-azure-to-azure-deep-storage,hadoop-azure-to-hdfs-deep-storage,hadoop-gcs-to-gcs-deep-storage,hadoop-gcs-to-hdfs-deep-storage,aliyun-oss-deep-storage,append-ingestion,compaction,high-availability,upgrade,shuffle-deep-store,custom-coordinator-duties
use_indexer: ${{ matrix.indexer }}
group: other
Expand All @@ -122,7 +122,7 @@ jobs:
- name: setup java
uses: actions/setup-java@v4
with:
java-version: '8'
java-version: '17'
distribution: 'zulu'
cache: maven

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/revised-its.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ jobs:
strategy:
fail-fast: false
matrix:
#jdk: [8, 11, 17]
jdk: [8]
# jdk: [11, 17]
jdk: [17]
it: [HighAvailability, MultiStageQuery, Catalog, BatchIndex, MultiStageQueryWithMM, InputSource, InputFormat, Security, Query]
#indexer: [indexer, middleManager]
indexer: [middleManager]
Expand All @@ -86,8 +86,8 @@ jobs:
uses: ./.github/workflows/reusable-revised-its.yml
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.common-extensions == 'true' }}
with:
build_jdk: 8
runtime_jdk: 11
build_jdk: 17
runtime_jdk: 21.0.4
use_indexer: middleManager
script: ./it.sh github S3DeepStorage
it: S3DeepStorage
Expand All @@ -103,8 +103,8 @@ jobs:
uses: ./.github/workflows/reusable-revised-its.yml
if: ${{ inputs.BACKWARD_COMPATIBILITY_IT_ENABLED == 'true' && (needs.changes.outputs.core == 'true' || needs.changes.outputs.common-extensions == 'true') }}
with:
build_jdk: 8
runtime_jdk: 8
build_jdk: 17
runtime_jdk: 17
use_indexer: middleManager
script: ./it.sh github BackwardCompatibilityMain
it: BackwardCompatibilityMain
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/standard-its.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
uses: ./.github/workflows/reusable-standard-its.yml
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.common-extensions == 'true' }}
with:
build_jdk: 8
runtime_jdk: 8
build_jdk: 17
runtime_jdk: 17
testing_groups: -Dgroups=${{ matrix.testing_group }}
override_config_path: ./environment-configs/test-groups/prepopulated-data
use_indexer: middleManager
Expand All @@ -67,8 +67,8 @@ jobs:
uses: ./.github/workflows/reusable-standard-its.yml
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.common-extensions == 'true' }}
with:
build_jdk: 8
runtime_jdk: 8
build_jdk: 17
runtime_jdk: 17
testing_groups: -Dgroups=${{ matrix.testing_group }}
use_indexer: indexer
group: ${{ matrix.testing_group }}
Expand All @@ -82,8 +82,8 @@ jobs:
uses: ./.github/workflows/reusable-standard-its.yml
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.common-extensions == 'true' }}
with:
build_jdk: 8
runtime_jdk: 8
build_jdk: 17
runtime_jdk: 17
testing_groups: -Dgroups=${{ matrix.testing_group }}
use_indexer: middleManager
override_config_path: ./environment-configs/test-groups/prepopulated-data
Expand All @@ -94,7 +94,7 @@ jobs:
strategy:
fail-fast: false
matrix:
jdk: [8, 17, 21]
jdk: [11, 17, 21]
uses: ./.github/workflows/reusable-standard-its.yml
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.common-extensions == 'true' }}
with:
Expand All @@ -115,8 +115,8 @@ jobs:
uses: ./.github/workflows/reusable-standard-its.yml
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.common-extensions == 'true' }}
with:
build_jdk: 8
runtime_jdk: 8
build_jdk: 17
runtime_jdk: 17
testing_groups: -Dgroups=shuffle-deep-store
use_indexer: ${{ matrix.indexer }}
override_config_path: ./environment-configs/test-groups/shuffle-deep-store
Expand All @@ -127,16 +127,16 @@ jobs:
uses: ./.github/workflows/reusable-standard-its.yml
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.common-extensions == 'true' }}
with:
build_jdk: 8
runtime_jdk: 8
build_jdk: 17
runtime_jdk: 17
testing_groups: -Dgroups=custom-coordinator-duties
use_indexer: middleManager
override_config_path: ./environment-configs/test-groups/custom-coordinator-duties
group: custom coordinator duties

integration-k8s-leadership-tests:
needs: changes
name: (Compile=openjdk8, Run=openjdk8, Cluster Build On K8s) ITNestedQueryPushDownTest integration test
name: (Compile=openjdk17, Run=openjdk17, Cluster Build On K8s) ITNestedQueryPushDownTest integration test
if: ${{ needs.changes.outputs.core == 'true' || needs.changes.outputs.common-extensions == 'true' }}
runs-on: ubuntu-22.04
env:
Expand All @@ -154,7 +154,7 @@ jobs:
- name: setup java
uses: actions/setup-java@v4
with:
java-version: '8'
java-version: '17'
distribution: 'zulu'

# the build step produces SNAPSHOT artifacts into the local maven repository,
Expand Down Expand Up @@ -195,8 +195,8 @@ jobs:
indexer: [middleManager, indexer]
uses: ./.github/workflows/reusable-standard-its.yml
with:
build_jdk: 8
runtime_jdk: 8
build_jdk: 17
runtime_jdk: 17
testing_groups: -DexcludedGroups=batch-index,input-format,input-source,perfect-rollup-parallel-batch-index,kafka-index,query,query-retry,query-error,realtime-index,security,ldap-security,s3-deep-storage,gcs-deep-storage,azure-deep-storage,hdfs-deep-storage,s3-ingestion,kinesis-index,kinesis-data-format,kafka-transactional-index,kafka-index-slow,kafka-transactional-index-slow,kafka-data-format,hadoop-s3-to-s3-deep-storage,hadoop-s3-to-hdfs-deep-storage,hadoop-azure-to-azure-deep-storage,hadoop-azure-to-hdfs-deep-storage,hadoop-gcs-to-gcs-deep-storage,hadoop-gcs-to-hdfs-deep-storage,aliyun-oss-deep-storage,append-ingestion,compaction,high-availability,upgrade,shuffle-deep-store,custom-coordinator-duties,centralized-datasource-schema,cds-task-schema-publish-disabled,cds-coordinator-metadata-query-disabled
use_indexer: ${{ matrix.indexer }}
group: other
24 changes: 12 additions & 12 deletions .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
fail-fast: false
matrix:
# Use JDK 21.0.4 to work around https://github.com/apache/druid/issues/17429
java: [ '8', '11', '17', '21.0.4' ]
java: [ '11', '17', '21.0.4' ]
runs-on: ubuntu-latest
steps:
- name: checkout branch
Expand All @@ -64,7 +64,7 @@ jobs:

- name: script checks
# who watches the watchers?
if: ${{ matrix.java == '8' }}
if: ${{ matrix.java == '17' }}
run: ./check_test_suite_test.py

- name: (openjdk17) strict compilation
Expand All @@ -74,43 +74,43 @@ jobs:
run: ${MVN} clean -DstrictCompile compile test-compile --fail-at-end ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS}

- name: maven install
if: ${{ matrix.java == '8' }}
if: ${{ matrix.java == '17' }}
run: |
echo 'Running Maven install...' &&
${MVN} clean install -q -ff -pl '!distribution' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS} -T1C &&
${MVN} install -q -ff -pl 'distribution' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS}

- name: checkstyle
if: ${{ matrix.java == '8' }}
if: ${{ matrix.java == '17' }}
run: ${MVN} checkstyle:checkstyle --fail-at-end

- name: license checks
if: ${{ matrix.java == '8' }}
if: ${{ matrix.java == '17' }}
run: ./.github/scripts/license_checks_script.sh

- name: analyze dependencies
if: ${{ matrix.java == '8' }}
if: ${{ matrix.java == '17' }}
run: |
./.github/scripts/analyze_dependencies_script.sh

- name: animal sniffer checks
if: ${{ matrix.java == '8' }}
if: ${{ matrix.java == '17' }}
run: ${MVN} animal-sniffer:check --fail-at-end

- name: enforcer checks
if: ${{ matrix.java == '8' }}
if: ${{ matrix.java == '17' }}
run: ${MVN} enforcer:enforce --fail-at-end

- name: forbidden api checks
if: ${{ matrix.java == '8' }}
if: ${{ matrix.java == '17' }}
run: ${MVN} forbiddenapis:check forbiddenapis:testCheck --fail-at-end

- name: pmd checks
if: ${{ matrix.java == '8' }}
if: ${{ matrix.java == '17' }}
run: ${MVN} pmd:check --fail-at-end # TODO: consider adding pmd:cpd-check

- name: spotbugs checks
if: ${{ matrix.java == '8' }}
if: ${{ matrix.java == '17' }}
run: ${MVN} spotbugs:check --fail-at-end -pl '!benchmarks'

openrewrite:
Expand All @@ -122,7 +122,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '8'
java-version: '17'
cache: 'maven'

- name: maven install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit-and-integration-tests-unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
fail-fast: false
matrix:
# Use JDK 21.0.4 to work around https://github.com/apache/druid/issues/17429
jdk: [ '8', '11', '17', '21.0.4' ]
jdk: [ '11', '17', '21.0.4' ]
runs-on: ubuntu-latest
steps:
- name: Checkout branch
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
fail-fast: false
matrix:
# Use JDK 21.0.4 to work around https://github.com/apache/druid/issues/17429
jdk: [ '11', '17', '21.0.4' ]
jdk: [ '11', '21.0.4' ]
name: "unit tests (jdk${{ matrix.jdk }}, sql-compat=true)"
uses: ./.github/workflows/unit-tests.yml
needs: unit-tests
Expand All @@ -176,11 +176,11 @@ jobs:
fail-fast: false
matrix:
sql_compatibility: [ false, true ]
name: "unit tests (jdk8, sql-compat=${{ matrix.sql_compatibility }})"
name: "unit tests (jdk17, sql-compat=${{ matrix.sql_compatibility }})"
uses: ./.github/workflows/unit-tests.yml
needs: build
with:
jdk: 8
jdk: 17
sql_compatibility: ${{ matrix.sql_compatibility }}

standard-its:
Expand Down
2 changes: 1 addition & 1 deletion .idea/misc-for-inspection.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Find articles written by community members and a calendar of upcoming events on

### Building from source

Please note that JDK 8 or JDK 11 is required to build Druid.
Please note that JDK 11 or JDK 17 is required to build Druid.

See the latest [build guide](https://druid.apache.org/docs/latest/development/build.html) for instructions on building Apache Druid from source.

Expand Down
2 changes: 1 addition & 1 deletion benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-multibindings</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.druid</groupId>
Expand Down Expand Up @@ -239,7 +240,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jmh.version>1.21</jmh.version>
<javac.target>1.8</javac.target>
<uberjar.name>benchmarks</uberjar.name>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion check_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# this script does some primitive examination of git diff to determine if a test suite needs to be run or not

# these jobs should always be run, no matter what
always_run_jobs = ['license checks', '(openjdk8) packaging check', '(openjdk11) packaging check']
always_run_jobs = ['license checks', '(openjdk17) packaging check']

# ignore changes to these files completely since they don't impact CI, if the changes are only to these files then all
# of CI can be skipped. however, jobs which are always run will still be run even if only these files are changed
Expand Down
1 change: 0 additions & 1 deletion codestyle/pmd-ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ This ruleset defines the PMD rules for the Apache Druid project.

<rule ref="category/java/codestyle.xml/UnnecessaryImport" />
<rule ref="category/java/codestyle.xml/TooManyStaticImports" />
<rule ref="category/java/codestyle.xml/UnnecessaryFullyQualifiedName"/>
</ruleset>
11 changes: 11 additions & 0 deletions codestyle/spotbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,15 @@
<Bug pattern="SWL_SLEEP_WITH_LOCK_HELD"/>
<Bug pattern="UL_UNRELEASED_LOCK_EXCEPTION_PATH"/>
<Bug pattern="URF_UNREAD_FIELD"/>
<!-- The following patterns have been excluded as part of upgrading to Java 17 as there were 100s of occurrences.
We should revisit these later. -->
<Bug pattern="CT_CONSTRUCTOR_THROW"/>
<Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR"/>
<Bug pattern="DCN_NULLPOINTER_EXCEPTION"/>
<Bug pattern="SING_SINGLETON_INDIRECTLY_IMPLEMENTS_CLONEABLE"/>
<Bug pattern="MS_EXPOSE_REP"/>
<Bug pattern="PA_PUBLIC_PRIMITIVE_ATTRIBUTE"/>
<Bug pattern="EI_EXPOSE_STATIC_REP2"/>
<Bug pattern="SS_SHOULD_BE_STATIC"/>
<Bug pattern="SING_SINGLETON_IMPLEMENTS_SERIALIZABLE"/>
</FindBugsFilter>
2 changes: 1 addition & 1 deletion distribution/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ARG JDK_VERSION=17
# This is because it's not able to build the distribution on arm64 due to dependency problem of web-console. See: https://github.com/apache/druid/issues/13012
# Since only java jars are shipped in the final image, it's OK to build the distribution on x64.
# Once the web-console dependency problem is resolved, we can remove the --platform directive.
FROM --platform=linux/amd64 maven:3.8.6-jdk-11-slim as builder
FROM --platform=linux/amd64 maven:3.8.4-openjdk-17-slim as builder

# Rebuild from source in this stage
# This can be unset if the tarball was already built outside of Docker
Expand Down
Loading