kfaraz commented on code in PR #18105:
URL: https://github.com/apache/druid/pull/18105#discussion_r2137661889
##########
extensions-core/kubernetes-overlord-extensions/src/main/java/org/apache/druid/k8s/overlord/common/KubernetesPeonClient.java:
##########
@@ -80,12 +81,22 @@ public Pod launchPeonJobAndWaitForStart(Job job, Task task,
long howLong, TimeUn
long start = System.currentTimeMillis();
// launch job
return clientApi.executeRequest(client -> {
- client.batch().v1().jobs().inNamespace(namespace).resource(job).create();
String jobName = job.getMetadata().getName();
- log.info("Successfully submitted job: %s ... waiting for job to launch",
jobName);
+
+ log.info("Submitting job[%s] for task[%s].",
job.getMetadata().getName(), task.getId());
Review Comment:
Nit:
```suggestion
log.info("Submitting job[%s] for task[%s].", jobName, task.getId());
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]