Apache9 commented on a change in pull request #3434: URL: https://github.com/apache/hbase/pull/3434#discussion_r660287517
########## File path: hbase-common/src/main/java/org/apache/hadoop/hbase/io/util/BlockIOUtils.java ########## @@ -207,6 +234,17 @@ public static boolean readWithExtra(ByteBuff buf, FSDataInputStream dis, int nec */ public static boolean preadWithExtra(ByteBuff buff, FSDataInputStream dis, long position, int necessaryLen, int extraLen) throws IOException { + boolean preadbytebuffer = dis.hasCapability("in:preadbytebuffer"); Review comment: We need to test it every time? Is it possible to test once when the FSDataInputStream is created? -- 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: issues-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org