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

Add append and remove peer table-cfs cmds for replication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 0.99.0
    • Operability
    • None
    • Reviewed
    • 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_v3.patch
          33 kB
          Enis Soztutar
        2. HBASE-11897-trunk-v2.diff
          33 kB
          Shaohui Liu
        3. HBASE-11897-trunk-v1.diff
          33 kB
          Shaohui Liu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: