Skip to content

fix(alibaba): call self.io.oss_log_exists in OSSTaskHandler._read#66522

Closed
wenbinye wants to merge 1 commit intoapache:mainfrom
wenbinye:fix/oss-task-handler-read
Closed

fix(alibaba): call self.io.oss_log_exists in OSSTaskHandler._read#66522
wenbinye wants to merge 1 commit intoapache:mainfrom
wenbinye:fix/oss-task-handler-read

Conversation

@wenbinye
Copy link
Copy Markdown

@wenbinye wenbinye commented May 7, 2026

Summary

OSSTaskHandler._read() calls self.oss_log_exists() and self.oss_read(), but these methods are only defined in OSSRemoteLogIO, not in OSSTaskHandler itself. This causes AttributeError when the Airflow UI reads task logs from OSS after task completion.

Fix: change the calls in _read() to use self.io.oss_log_exists() and self.io.oss_read() directly.

🤖 Generated with Claude Code

…TaskHandler._read

OSSTaskHandler._read() was calling self.oss_log_exists() and
self.oss_read(), but these methods are only defined in OSSRemoteLogIO,
not in OSSTaskHandler. Fix by calling self.io.oss_log_exists() and
self.io.oss_read() directly on the OSSRemoteLogIO instance.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hasangzc
Copy link
Copy Markdown

hasangzc commented May 8, 2026

Hi, this fix is already covered in #66479 which was opened 2 days earlier. Thanks!

@wenbinye wenbinye closed this May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants