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

Dong0829 updated HBASE-29532:
-----------------------------
    Description: 
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 |#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()

 

 

 

  was:
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()

 

 

 


> 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
>            Assignee: Dong0829
>            Priority: Major
>
> 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 |#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)

Reply via email to