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

Add append and remove peer table-cfs cmds for replication

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 0.99.0
    • Component/s: Operability
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Adds two new shell commands for operators to add and remove peers at the columnfamily scope.

      Description

      HBASE-8751 introduces the tables/table-column families config for a replication peer. It's very flexible for practical replication in hbase clusters.

      But it is easy to make mistakes during add or remove a table/table-column family for a existing peer, especially when the table-cfs is very long, for we need to copy the current table-cfs of the peer first, and then add or remove a table/table-column family to/from the table-cfs, at last set back the table-cfs using the cmd: set_peer_tableCFs.

      So we implements two new cmds: append_peer_tableCFs and remove_peer_tableCFs to do the operation of adding and removing a table/table-column family. They are useful operation tools.

        Attachments

        1. HBASE-11897-trunk-v1.diff
          33 kB
          Shaohui Liu
        2. HBASE-11897-trunk-v2.diff
          33 kB
          Shaohui Liu
        3. hbase-11897_v3.patch
          33 kB
          Enis Soztutar

          Issue Links

            Activity

              People

              • Assignee:
                liushaohui Shaohui Liu
                Reporter:
                liushaohui Shaohui Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: