kfaraz commented on PR #18580:
URL: https://github.com/apache/druid/pull/18580#issuecomment-3342246563

   The `KubernetesClusterWithOperatorDockerTest` succeeded with the original 
code.
   
   @capistrant , it seems that we can't get rid of the invocation of 
`startWatchingLogs()` in `KubernetesWorkItem.shutdown()`.
   I haven't dug very deep but it is most likely because
   `KubernetesWorkItem.shutdown()` calls `KubernetesPeonLifecycle.shutdown()`
   which calls `kubernetesClient.deletePeonJob(taskId)`.
   
   After this, `join()` calls `startWatchingLogs()` but it fails to initialize 
`logWatch` since the peon job is already deleted.


-- 
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: commits-unsubscr...@druid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to