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

Shell does not support custom replication endpoint specification

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0, 2.0.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Adds support to add_peer in hbase shell to add a custom replication endpoint from HBASE-12254.
      Show
      Adds support to add_peer in hbase shell to add a custom replication endpoint from HBASE-12254 .

      Description

      On HBASE-12254 and also at https://github.com/risdenk/hbase-custom-replication-endpoint-example Kevin Risden made the following observations and suggestions regarding custom replication endpoints that I think are a reasonable blueprint for improvement:

      I was trying out the pluggable replication endpoint feature and found the following:

      • you must use the ReplicationAdmin to add the new ReplicationEndpoint
      • hbase shell add_peer command doesn't support specifying a custom class
      • hbase shell add_peer relies on the newly deprecated ReplicationAdmin addPeer methods
      • ReplicationAdmin addPeer tableCfs is now a Map<TableName, ? extends Collection<String>> instead of a string

      We should fix the add_peer command in the shell at least.

        Attachments

        1. HBASE-12867-v3.patch
          16 kB
          Enis Soztutar
        2. HBASE-12867-v3.patch
          16 kB
          Enis Soztutar
        3. HBASE-12867-v3.patch
          16 kB
          Kevin Risden
        4. HBASE-12867-v2.patch
          15 kB
          Kevin Risden
        5. HBASE-12867-v1.patch
          8 kB
          Kevin Risden
        6. HBASE-12867.patch
          6 kB
          Kevin Risden

          Issue Links

            Activity

              People

              • Assignee:
                risdenk Kevin Risden
                Reporter:
                apurtell Andrew Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: