Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8230

Possible NPE on regionserver abort if replication service has not been started

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      RegionServer got Exception on calling setupWALAndReplication, so entered abort flow. Since replicationSink had not been inialized yet, we got below exception:

      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)
      

        Attachments

        1. HBASE-8230-94.patch
          0.6 kB
          Jieshan Bean
        2. HBASE-8230-trunk.patch
          0.7 kB
          Jieshan Bean

          Activity

            People

            • Assignee:
              jeason Jieshan Bean
              Reporter:
              jeason Jieshan Bean
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: