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

Jieshan Bean updated HBASE-8230:
--------------------------------

    Attachment: HBASE-8230-94.patch

patch for 94.
                
> 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
>         Attachments: HBASE-8230-94.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

Reply via email to