[ https://issues.apache.org/jira/browse/HBASE-28953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wellington Chevreuil resolved HBASE-28953. ------------------------------------------ Resolution: Fixed Merged to master, branch-3, branch-2 and branch-2.6. > Prefetch thread shouldn't run for master store > ---------------------------------------------- > > Key: HBASE-28953 > URL: https://issues.apache.org/jira/browse/HBASE-28953 > Project: HBase > Issue Type: Bug > Affects Versions: 3.0.0-beta-1, 2.7.0, 2.6.1 > Reporter: Wellington Chevreuil > Assignee: Wellington Chevreuil > Priority: Minor > Labels: pull-request-available > Fix For: 3.0.0, 2.7.0, 2.6.2 > > > The master store is hosted on Master processes. Since masters don't have a > BlockCache, we shouldn't run a prefetch thread at all, when opening the > master store region. > Currently, this is causing a NoSuchElementException to be logged in master > logs, which although harmless, can be confusing for operators: > {noformat} > 2024-10-23 15:23:29,236 WARN > org.apache.hadoop.hbase.io.hfile.HFileReaderImpl: Prefetch > path=s3a://odx-qe-bucket/cc-odx-coy6zg/cod-udzhubgp5l5k/hbase/MasterData/data/master/store/1595e783b53d99cd5eef43b6debb2682/proc/336a510d9f9a472c9e2a8f3e00352e3b, > offset=0, end=82012 > java.util.NoSuchElementException: No value present > at java.base/java.util.Optional.get(Optional.java:143) > at > org.apache.hadoop.hbase.io.hfile.HFilePreadReader$1.run(HFilePreadReader.java:73) > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) > at java.base/java.util.concurrent.ThreadPoolExecute {noformat} > > -- This message was sent by Atlassian Jira (v8.20.10#820010)