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:18:37 UTC

[hbase] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/hbase.git


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

commit 2486d32fd005244a33401e8bea91a341ca59fac1
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 518210398d4..1ebe93deff6 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;