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

ReplicationObserver fails to load in HBase 2.0.0

    XMLWordPrintableJSON

Details

    Description

      ReplicationObserver was added in HBASE-17290 to prevent "Potential loss of data for replication of bulk loaded hfiles".

      I tried to enable bulk loading replication feature (hbase.replication.bulkload.enabled=true and configure hbase.replication.cluster.id) on a HBase 2.0.0 cluster, but the RegionServer started with the following error:

      2018-08-02 18:20:36,365 INFO org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost: System coprocessor loading is enabled
      2018-08-02 18:20:36,365 INFO org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost: Table coprocessor loading is enabled
      2018-08-02 18:20:36,365 ERROR org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost: org.apache.hadoop.hbase.replication.regionserver.ReplicationObserver is not of type
      RegionServerCoprocessor. Check the configuration of hbase.coprocessor.regionserver.classes
      2018-08-02 18:20:36,366 ERROR org.apache.hadoop.hbase.coprocessor.CoprocessorHost: Cannot load coprocessor ReplicationObserver

      It looks like this was broken by HBASE-17732 to me, but I could be wrong.

      Attachments

        1. HBASE-21001.master.001.patch
          6 kB
          Guangxu Cheng
        2. HBASE-21001.master.001.patch
          6 kB
          Guangxu Cheng
        3. HBASE-21001.master.002.patch
          8 kB
          Guangxu Cheng
        4. HBASE-21001.master.003.patch
          8 kB
          Guangxu Cheng
        5. HBASE-21001.master.004.patch
          8 kB
          Guangxu Cheng
        6. HBASE-21001.branch-2.0.001.patch
          8 kB
          Guangxu Cheng

        Issue Links

          Activity

            People

              gxcheng Guangxu Cheng
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: