[ 
https://issues.apache.org/jira/browse/HBASE-28753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

guluo updated HBASE-28753:
--------------------------
    Description: 
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)

  was:
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.

!image-2024-07-24-20-08-22-820.png!

 

 


> 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
>         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)

Reply via email to