[
https://issues.apache.org/jira/browse/HBASE-8230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-8230:
-------------------------
Resolution: Fixed
Fix Version/s: 0.94.7
0.95.1
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Committed small change to 0.95, trunk and to 0.94 (hope you don't mind
[~lhofhansl]) Thanks for patch [~jeason]
> Possible NPE on regionserver abort if replication service has not been started
> ------------------------------------------------------------------------------
>
> Key: HBASE-8230
> URL: https://issues.apache.org/jira/browse/HBASE-8230
> Project: HBase
> Issue Type: Bug
> Components: regionserver, Replication
> Affects Versions: 0.94.6
> Reporter: Jieshan Bean
> Assignee: Jieshan Bean
> Fix For: 0.95.1, 0.94.7
>
> Attachments: HBASE-8230-94.patch, HBASE-8230-trunk.patch
>
>
> RegionServer got Exception on calling setupWALAndReplication, so entered
> abort flow. Since replicationSink had not been inialized yet, we got below
> exception:
> {noformat}
> Exception in thread "regionserver26003" java.lang.NullPointerException
> at
> org.apache.hadoop.hbase.replication.regionserver.Replication.join(Replication.java:129)
> at
> org.apache.hadoop.hbase.replication.regionserver.Replication.stopReplicationService(Replication.java:120)
> at
> org.apache.hadoop.hbase.regionserver.HRegionServer.join(HRegionServer.java:1803)
> at
> org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:834)
> at java.lang.Thread.run(Thread.java:662)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira