HBASE-8230 Possible NPE on regionserver abort if replication service has not been started
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1464280 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e7bebd4706
commit
c4911d3230
|
@ -154,7 +154,9 @@ public class Replication implements WALActionsListener,
|
|||
public void join() {
|
||||
if (this.replication) {
|
||||
this.replicationManager.join();
|
||||
this.replicationSink.stopReplicationSinkServices();
|
||||
if (this.replicationSink != null) {
|
||||
this.replicationSink.stopReplicationSinkServices();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue