Skip to content

Commit 222e4ad

Browse files
committed
[SPARK-52834] Improve ProbeService to show the port number
### What changes were proposed in this pull request? This PR aims to improve `ProbeService` to show the port number. ### Why are the changes needed? We had better show the live port number because a user can customize the port number with `spark.kubernetes.operator.health.probePort`. ### Does this PR introduce _any_ user-facing change? No, this is only a log info. ### How was this patch tested? Manual review. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#287 from dongjoon-hyun/SPARK-52834. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 9d57828 commit 222e4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spark-operator/src/main/java/org/apache/spark/k8s/operator/probe/ProbeService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public ProbeService(
5353
}
5454

5555
public void start() {
56-
log.info("Probe service started");
56+
log.info("Probe service started at " + OPERATOR_PROBE_PORT.getValue());
5757
server.start();
5858
}
5959

0 commit comments

Comments
 (0)