adoroszlai opened a new pull request #1523: URL: https://github.com/apache/hadoop-ozone/pull/1523
## What changes were proposed in this pull request? Implement [`CanUnbuffer` interface](https://github.com/apache/hadoop/blob/b32926f1108bef1f1e506de684c021203b2432f1/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CanUnbuffer.java#L32-L35) in Ozone input streams (`ChunkInputStream`, `BlockInputStream`): release buffers and disconnect the client when `unbuffer()` is called. https://issues.apache.org/jira/browse/HDDS-4320 ## How was this patch tested? Added contract test (base test copied from Hadoop 3.3) for both OFS and O3FS: https://github.com/adoroszlai/hadoop-ozone/runs/1309754540#step:4:3093 https://github.com/adoroszlai/hadoop-ozone/runs/1309754540#step:4:3107 also added unit test: https://github.com/adoroszlai/hadoop-ozone/runs/1309754295#step:3:3540 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org