[ https://issues.apache.org/jira/browse/HBASE-28753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-28753. ------------------------------- Hadoop Flags: Reviewed Resolution: Fixed Pushed to all active branches. Thanks [~guluo] for contributing and [~PankajKumar] for reviewing! > FNFE may occur when accessing the region.jsp of the replica region > ------------------------------------------------------------------ > > Key: HBASE-28753 > URL: https://issues.apache.org/jira/browse/HBASE-28753 > Project: HBase > Issue Type: Bug > Components: Replication, UI > Affects Versions: 2.4.13 > Reporter: guluo > Assignee: guluo > Priority: Major > Labels: pull-request-available > Fix For: 2.7.0, 3.0.0-beta-2, 2.6.1, 2.5.11 > > Attachments: image-2024-07-24-20-13-22-014.png > > > On hbase UI, we can get the details of storefiles in region region by > accessing region.jsp. > However, When hbase table enables the region replication, the replica region > may reference deleted storefile due to it dosen't refresh in a timely manner, > so in this case, we would get FNFE when openning the region.jsp of the region. > > java.io.FileNotFoundException: File > file:/home/gl/code/github/hbase/hbase-assembly/target/hbase-4.0.0-alpha-1-SNAPSHOT/tmp/hbase/data/default/t01/e073c6b7c05eadda3f91d5b9692fc98d/info/5c52361153044b89aa61090cd5497998.4433b98ccf6b4a011ab03fc4a5e38a1a > does not exist at > org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:915) > at > org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:1236) > at > org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:905) > at > org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:462) > at > org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:462) > at org.apache.hadoop.fs.FileSystem.getLength(FileSystem.java:1881) at > org.apache.hadoop.hbase.generated.regionserver.region_jsp._jspService(region_jsp.java:97) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:790) -- This message was sent by Atlassian Jira (v8.20.10#820010)