You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Dong0829 (Jira)" <ji...@apache.org> on 2025/08/19 03:50:00 UTC

[jira] [Created] (HBASE-29532) NPE error when there is EOF for specific recover folder

Dong0829 created HBASE-29532:
--------------------------------

             Summary: NPE error when there is EOF for specific recover folder
                 Key: HBASE-29532
                 URL: https://issues.apache.org/jira/browse/HBASE-29532
             Project: HBase
          Issue Type: Bug
            Reporter: Dong0829


The HRegion may face NPE issue if the user:
 # Set SPECIAL_RECOVERED_EDITS_DIR
 # During the replay, there was the EOF or other IOException exception

 

Because when call

 

[replayRecoveredEdits |[https://github.com/apache/hbase/blob/9130913dea309e9fabfbaddeacc05c0fab1a2ca8/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java#L5597]], the [walFS|https://github.com/apache/hbase/blob/9130913dea309e9fabfbaddeacc05c0fab1a2ca8/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java#L5832] may still NULL

To avoid this, need to replace the walFS with getWalFileSystem()

 

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)