[
https://issues.apache.org/jira/browse/HBASE-27988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17748848#comment-17748848
]
Hudson commented on HBASE-27988:
--------------------------------
Results for branch branch-3
[build #23 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/23/]:
(/) *{color:green}+1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/23/General_20Nightly_20Build_20Report/]
(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/23/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/23/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> NPE in AddPeerProcedure recovery
> --------------------------------
>
> Key: HBASE-27988
> URL: https://issues.apache.org/jira/browse/HBASE-27988
> Project: HBase
> Issue Type: Bug
> Components: Replication
> Affects Versions: 4.0.0-alpha-1
> Reporter: ruanhui
> Assignee: ruanhui
> Priority: Trivial
> Fix For: 3.0.0-beta-1
>
>
> AddPeerProcedure will restore syncReplicationPeerLock when replayed in master
> recovery, however the replicationPeerManager has not been initialized when
> replay procedure, which will cause a nullPointerException and master to abort.
> {code:java}
> @Override
> protected void afterReplay(MasterProcedureEnv env) {
> // ......
> if (peerConfig.isSyncReplication()) {
> if (!env.getReplicationPeerManager().tryAcquireSyncReplicationPeerLock())
> {
> throw new IllegalStateException(
> "Can not acquire sync replication peer lock for peer " + peerId);
> }
> }
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)