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

Shell does not support custom replication endpoint specification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0, 2.0.0
    • None
    • Reviewed
    • 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 risdenk 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.patch
          6 kB
          Kevin Risden
        2. HBASE-12867-v1.patch
          8 kB
          Kevin Risden
        3. HBASE-12867-v2.patch
          15 kB
          Kevin Risden
        4. HBASE-12867-v3.patch
          16 kB
          Enis Soztutar
        5. HBASE-12867-v3.patch
          16 kB
          Enis Soztutar
        6. HBASE-12867-v3.patch
          16 kB
          Kevin Risden

        Issue Links

          Activity

            People

              krisden Kevin Risden
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: