apache / druid

Apache Druid: a high performance real-time analytics database.
https://druid.apache.org/
Apache License 2.0
13.53k stars 3.71k forks source link

Revert "always set taskLocation (#17350)" #17417

Closed georgew5656 closed 4 weeks ago

georgew5656 commented 1 month ago

This reverts commit a664fc8be3cdba479caed7ebd49ef2f835bf7699.

Description

The reverted commit can cause issues when overlords with a lot of tasks restart because of the flood of calls to k8s. This also combines with another bug when saveLogs() is called with a running task that causes the task to get stuck in a pending state.

I'm planning on fixing the saveLogs bug in a separate PR + address the original issue this commit tried to fix with a different approach, but for now reverting this change because it seems to cause more issues than it solves.

Fixed the bug ...

Renamed the class ...

Added a forbidden-apis entry ...

Key changed/added classes in this PR

This PR has:

suneet-s commented 1 month ago

Reverts #17350

georgew5656 commented 1 month ago

will address this issue in https://github.com/apache/druid/pull/17419/files#diff-bb902bcc2fa097a13509038cd5ae6987b355c2bcf50f7a558bf9c1a3f5d521db