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

Online modification of enabled ReplicationPeerConfig

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.3.0, 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Replication
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Added update_peer_config to the HBase shell and ReplicationAdmin, and provided a callback for custom replication endpoints to be notified of changes to their configuration and peer data

      Description

      It's currently possible to update the table CFs for a replication peer while it's running, but not the peer configuration or data maps introduced as part of custom replication endpoints in HBASE-11367.

      This means that if you have a custom endpoint that depends on some configuration parameter, you have to remove the peer and recreate it in order to change the param. In some use cases that's not possible without risking data loss.

      HBASE-11393, which will consolidate tableCFs in the same znode as the rest of ReplicationPeerConfig, may help here, but with or without it it still seems like there needs to be further work to add update config/data API support to ReplicationAdmin and a callback mechanism to notify the endpoints of config parameter changes.

        Attachments

        1. HBASE-15507.patch
          26 kB
          Geoffrey Jacoby
        2. HBASE-15507-v1.patch
          22 kB
          Geoffrey Jacoby
        3. HBASE-15507-v2.patch
          27 kB
          Geoffrey Jacoby
        4. HBASE-15507-v3.patch
          27 kB
          Geoffrey Jacoby

          Issue Links

            Activity

              People

              • Assignee:
                gjacoby Geoffrey Jacoby
                Reporter:
                gjacoby Geoffrey Jacoby
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: