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

Replication by namespaces config in peer

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Replication
    • None
    • Hide
      Support replication by namespaces config in peer.
      1. Set a namespace in peer config means that all tables in this namespace will be replicated.
      2. If the namespaces config is null, then the table-cfs config decide which table's edit can be replicated. If the table-cfs config is null, then the namespaces config decide which table's edit can be replicated.
      3. If you already have set a namespace in the peer config, then you can't set any table of this namespace to the peer config. If you already have set a table in the peer config, then you can't set this table's namespace to the peer config.
      Show
      Support replication by namespaces config in peer. 1. Set a namespace in peer config means that all tables in this namespace will be replicated. 2. If the namespaces config is null, then the table-cfs config decide which table's edit can be replicated. If the table-cfs config is null, then the namespaces config decide which table's edit can be replicated. 3. If you already have set a namespace in the peer config, then you can't set any table of this namespace to the peer config. If you already have set a table in the peer config, then you can't set this table's namespace to the peer config.

    Description

      Now we only config table cfs in peer. But in our production cluster, there are a dozen of namespace and every namespace has dozens of tables. It was complicated to config all table cfs in peer. For some namespace, it need replication all tables to other slave cluster. It will be easy to config if we support replication by namespace. Suggestions and discussions are welcomed.

      Review board: https://reviews.apache.org/r/51521/

      Attachments

        1. HBASE-16447-v1.patch
          75 kB
          Guanghao Zhang
        2. HBASE-16447-v2.patch
          79 kB
          Guanghao Zhang
        3. HBASE-16447-v3.patch
          77 kB
          Guanghao Zhang
        4. HBASE-16447-v4.patch
          72 kB
          Guanghao Zhang
        5. HBASE-16447-v5.patch
          69 kB
          Guanghao Zhang
        6. HBASE-16447-v5.patch
          69 kB
          Guanghao Zhang

        Activity

          People

            zghao Guanghao Zhang
            zghao Guanghao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: