steveloughran commented on code in PR #4212:
URL: https://github.com/apache/hadoop/pull/4212#discussion_r865156426


##########
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AUnbuffer.java:
##########
@@ -192,6 +197,12 @@ private boolean isObjectStreamOpen(FSDataInputStream 
inputStream) {
     return ((S3AInputStream) 
inputStream.getWrappedStream()).isObjectStreamOpen();
   }
 
+  private void skipIfCannotUnbuffer(InputStream inputStream) {

Review Comment:
   you can also use StoreImplementationUtils when needed -which it isn't here



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