Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18846 Accommodate the hbase-indexer/lily/SEP consumer deploy-type
  3. HBASE-19494

Create simple WALKey filter that can be plugged in on the Replication Sink

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1, 2.0.0
    • Replication
    • None
    • Reviewed
    • Hide
      Adds means of adding very basic filter on the sink side of replication. We already have a means of installing filter source-side, which is better place to filter edits before they are shipped over the network, but this facility is needed by hbase-indexer.

      Set hbase.replication.sink.walentrysinkfilter with a no-param Constructor implementation. See test in patch for example.
      Show
      Adds means of adding very basic filter on the sink side of replication. We already have a means of installing filter source-side, which is better place to filter edits before they are shipped over the network, but this facility is needed by hbase-indexer. Set hbase.replication.sink.walentrysinkfilter with a no-param Constructor implementation. See test in patch for example.

    Description

      hbase-indexer used to look at WALKeys on the sink to see if their time of creation was before the time at which the replication stream was enabled.

      In the parent redo, there is no means for doing this anymore (because WALKey used to be Private and because to get at the WALKey in the Sink, you had to override all of the Replication which meant importing a million Private objects...).

      This issue is about adding a simple filter to Replication on the sink-side that just takes a WALKey (now InterfaceAudience LimitedPrivate and recently made read-only).

      Assigned myself. Need to do this so hbase-indexer can move to hbase2.

      Attachments

        Issue Links

          Activity

            People

              stack Michael Stack
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: