You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "mindreader (via GitHub)" <gi...@apache.org> on 2023/03/15 13:38:39 UTC

[GitHub] [druid] mindreader commented on pull request #13804: Upgrade the fabric client to support newer versions of k8s

mindreader commented on PR #13804:
URL: https://github.com/apache/druid/pull/13804#issuecomment-1470028218

   Do you also need to make this change?
   
   ```diff
   --- a/extensions-contrib/kubernetes-overlord-extensions/src/main/java/org/apache/druid/k8s/overlord/KubernetesTaskRunner.java
   +++ b/extensions-contrib/kubernetes-overlord-extensions/src/main/java/org/apache/druid/k8s/overlord/KubernetesTaskRunner.java
   @@ -180,7 +180,7 @@ public class KubernetesTaskRunner implements TaskLogStreamer, TaskRunner
                        completedPhase = monitorJob(peonPod, k8sTaskId);
                      } else {
                        Job job = existingJob.get();
   -                    if (job.getStatus().getActive() == null) {
   +                    if (job.getStatus() != null && job.getStatus().getActive() == null && (job.getStatus().getFailed() != null || job.getStatus().getSucceeded() !=null)) {
                          if (job.getStatus().getSucceeded() != null) {
                            completedPhase = new JobResponse(job, PeonPhase.SUCCEEDED);
                          } else {
   ```


-- 
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-unsubscribe@druid.apache.org

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


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