jojochuang opened a new pull request, #4361:
URL: https://github.com/apache/ozone/pull/4361

   ## What changes were proposed in this pull request?
   
   Add StreamCapabilities interface to ExtendedInputStream to allow 
applications to unbuffer input streams in encrypted buckets.
   
   Because StreamCapabilities is a Hadoop API that does not exist in 2.7, this 
change would have broken applications if Hadoop2 runtime is used. This PR 
employs a hack which copies StreamCapabilities as well as 
StreamCapabilitiesPolicy interfaces to the ozonefs-hadoop2 module so 
application wouldn't fail to find the class definition at runtime.
   
   A unit test is added to verify that unbuffer() invoked on a 
CryptoInputStream does invoke the unbuffer() of the wrapped KeyInputStream.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-8095
   
   ## How was this patch tested?
   
   Unit test.


-- 
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]

Reply via email to