You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bb...@apache.org on 2023/08/02 13:20:40 UTC

[hbase] branch branch-2 updated: HBASE-27896 Disable hdfs readahead for pread reads (#5336)

This is an automated email from the ASF dual-hosted git repository.

bbeaudreault pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 361c6759854 HBASE-27896 Disable hdfs readahead for pread reads (#5336)
361c6759854 is described below

commit 361c675985465146c4da1f99bb7f32bba4edddc8
Author: Bryan Beaudreault <bb...@apache.org>
AuthorDate: Wed Aug 2 09:18:30 2023 -0400

    HBASE-27896 Disable hdfs readahead for pread reads (#5336)
    
    Signed-off-by: Reid Chan <re...@apache.org>
---
 .../main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java
index 87c9d300210..a56a68a3599 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java
@@ -73,7 +73,7 @@ public class StoreFileInfo implements Configurable {
     Pattern.compile(String.format("^(%s|%s)\\.(.+)$", HFILE_NAME_REGEX, HFileLink.LINK_NAME_REGEX));
 
   public static final String STORE_FILE_READER_NO_READAHEAD = "hbase.store.reader.no-readahead";
-  public static final boolean DEFAULT_STORE_FILE_READER_NO_READAHEAD = false;
+  public static final boolean DEFAULT_STORE_FILE_READER_NO_READAHEAD = true;
 
   // Configuration
   private Configuration conf;