Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
Update runtime JDK version to 17, upgrade Spark and slf4j version.
Also update chatty health probe logger to debug.
  • Loading branch information
jiangzho committed Apr 5, 2024
commit 85c623e16359c144ecc20673201963231470ed7c
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
#
#

FROM gradle:8.6-jdk11-alpine AS builder
FROM gradle:8.6-jdk17-alpine AS builder
ARG BASE_VERSION
WORKDIR /app
COPY . .
RUN ./gradlew clean build -x test

FROM eclipse-temurin:11-jre-jammy
FROM eclipse-temurin:17-jre-jammy
ARG BASE_VERSION

ENV SPARK_OPERATOR_HOME=/opt/spark-operator
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ commonsLang3Version=3.12.0
commonsIOVersion=2.11.0
commonsConfigurationVersion=2.9.0
dropwizardMetricsVersion=4.2.25
# FIXME: known binary incompatible lib brought in by Spark
# Caution: fabric8 version should be aligned with Spark dependency
fabric8Version=6.7.2
lombokVersion=1.18.30
operatorSDKVersion=4.7.0
okHttpVersion=4.11.0
# Spark
sparkVersion=3.5.0
sparkVersion=3.5.1
sparkScalaVersion=2.12
# Logging
slf4jVersion=1.7.36
log4jVersion=2.17.1
log4jVersion=2.23.1
log4jLayoutVersion=2.17.1
# Test
junitVersion=5.9.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void handle(HttpExchange exchange) throws IOException {
}

private boolean checkInformersHealth(RuntimeInfo operatorRuntimeInfo) {
log.info("Checking informer health");
log.debug("Checking informer health");
List<Boolean> informersHealthList = new ArrayList<>();
for (var controllerEntry :
operatorRuntimeInfo.unhealthyInformerWrappingEventSourceHealthIndicator()
Expand Down