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

VerifyReplication tool wrongly emits warning "ERROR: Invalid argument '--recomparesleep=xx'"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.0.0
    • 1.4.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Even though it's completely valid, VerifyReplication tool says "Invalid argument" when specifying --recomparesleep or --delimiter option.

      $ bin/hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication --recomparesleep=5 1 foo
      ERROR: Invalid argument '--recomparesleep=5'
      Usage: verifyrep [--starttime=X] [--endtime=Y] [--families=A] [--row-prefixes=B] [--delimiter=] [--recomparesleep=] [--verbose] <peerid> <tablename>
      
      Options:
       starttime    beginning of the time range
                    without endtime means from starttime to forever
       endtime      end of the time range
       versions     number of cell versions to verify
       raw          includes raw scan if given in options
       families     comma-separated list of families to copy
       row-prefixes comma-separated list of row key prefixes to filter on
       delimiter    the delimiter used in display around rowkey
       recomparesleep   milliseconds to sleep before recompare row, default value is 0 which disables the recompare.
       verbose      logs row keys of good rows
      
      Args:
       peerid       Id of the peer used for verification, must match the one given for replication
       tablename    Name of the table to verify
      
      Examples:
       To verify the data replicated from TestTable for a 1 hour window with peer #5
       $ hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication --starttime=1265875194289 --endtime=1265878794289 5 TestTable
      

      Attachments

        1. HBASE-17773.master.001.patch
          2 kB
          Tomu Tsuruhara

        Activity

          People

            tomu.tsuruhara Tomu Tsuruhara
            tomu.tsuruhara Tomu Tsuruhara
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: