jojochuang opened a new pull request, #3694: URL: https://github.com/apache/ozone/pull/3694
## What changes were proposed in this pull request? https://issues.apache.org/jira/browse/HDDS-7135 Make sure that OFS returns an input stream that is wrapped by CapableOzoneFSInputStream when it is shaded with Hadoop3 dependency. CapableOzoneFSInputStream support StreamCapabilities API. The StreamCapabilities API is added only in Hadoop3, so the Hadoop2-based filesystem jar returns the input stream wrapped by OzoneFSInputStream. ## How was this patch tested? A simple assertion is added to validate the StreamCapabilities in the file system contrast test. (Please explain how this patch was tested. Ex: unit tests, manual tests) (If this patch involves UI changes, please attach a screen-shot; otherwise, remove this) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
