seanghaeli opened a new issue, #77889: URL: https://github.com/apache/airflow/issues/77889
S3, GCS and CloudWatch remote logging implement `stream()`, so a log reader can read a file lazily and stop or skip files it doesn't need. WASB, HDFS and OSS only implement `read()`, which downloads every file it finds into memory as a whole string before returning. So on those three stores, every task log read loads the full remote log into the API server's memory, and a reader that only needs some of the files listed still downloads all of them. For example, the trigger logs reader filters out files it has already read, but on these stores it has already paid for the download by then. Adding `stream()` to `WasbRemoteLogIO`, `HdfsRemoteLogIO` and `OSSRemoteLogIO`, following the S3 and GCS versions, would fix both. -- 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]
