DomGarguilo commented on code in PR #4118:
URL: https://github.com/apache/accumulo/pull/4118#discussion_r1437155059


##########
core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/PrintBCInfo.java:
##########
@@ -67,6 +67,18 @@ public void printMetaBlockInfo() throws IOException {
     }
   }
 
+  public String getCompressionType() throws IOException {
+    FSDataInputStream fsin = fs.open(path);

Review Comment:
   ```suggestion
       FSDataInputStream fsin = fs.open(path);
   ```
   Can this be added to the try-with-resources block? I see the another 
instance in this class where it could be added but I'm also not sure if it is 
outside of it on purpose.



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

Reply via email to