ashb commented on code in PR #54649:
URL: https://github.com/apache/airflow/pull/54649#discussion_r2285173485
##########
task-sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -689,6 +689,8 @@ def startup() -> tuple[RuntimeTaskInstance, Context,
Logger]:
log = structlog.get_logger(logger_name="task")
if os.environ.get("_AIRFLOW__REEXECUTED_PROCESS") == "1" and
os.environ.get("_AIRFLOW__STARTUP_MSG"):
+ if "KRB5CCNAME" in os.environ:
+ del os.environ["KRB5CCNAME"]
Review Comment:
```suggestion
# Clear any Kerberos replace cache if there is one, so new process
can't reuse it.
os.environ.pop("KRB5CCNAME", None)
```
--
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]