[
https://issues.apache.org/jira/browse/HBASE-29532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-29532.
-------------------------------
Fix Version/s: 2.7.0
3.0.0-beta-2
2.6.4
2.5.13
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to all active branches.
Thanks [~Li0829] for contributing!
> 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
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.4, 2.5.13
>
>
> 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)