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

Support to specify a peer table name in VerifyReplication tool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0, 2.3.0, 2.1.4
    • None
    • None
    • Hide
      After HBASE-21871, we can specify a peer table name with --peerTableName in VerifyReplication tool like the following:
      hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication --peerTableName=peerTable 5 TestTable

      In addition, we can compare any 2 tables in any remote clusters with specifying both peerId and --peerTableName.

      For example:
      hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication --peerTableName=peerTable zk1,zk2,zk3:2181/hbase TestTable
      Show
      After HBASE-21871 , we can specify a peer table name with --peerTableName in VerifyReplication tool like the following: hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication --peerTableName=peerTable 5 TestTable In addition, we can compare any 2 tables in any remote clusters with specifying both peerId and --peerTableName. For example: hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication --peerTableName=peerTable zk1,zk2,zk3:2181/hbase TestTable

    Description

      After HBASE-21201, we can specify peerQuorumAddress instead of peerId in VerifyReplication tool. So it no longer requires peerId to be setup when using this tool. However, we don't have a way to specify a peer table name in VerifyReplication for now.

      So I would like to propose to update the tool to pass as a peer table name as an argument (ex. --peerTableName=<tablename>).

      After resolving this Jira, we will be able to compare any 2 tables in any remote clusters.

      Attachments

        1. HBASE-21871.master.002.patch
          13 kB
          Toshihiro Suzuki
        2. HBASE-21871.master.002.patch
          13 kB
          Subrat Mishra
        3. HBASE-21871.master.001.patch
          13 kB
          Subrat Mishra

        Issue Links

          Activity

            People

              subrat.mishra Subrat Mishra
              brfrn169 Toshihiro Suzuki
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: