You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Tomu Tsuruhara (JIRA)" <ji...@apache.org> on 2017/03/11 09:20:04 UTC

[jira] [Created] (HBASE-17773) VerifyReplication tool wrongly emits warning "ERROR: Invalid argument '--recomparesleep=xx'"

Tomu Tsuruhara created HBASE-17773:
--------------------------------------

             Summary: VerifyReplication tool wrongly emits warning "ERROR: Invalid argument '--recomparesleep=xx'"
                 Key: HBASE-17773
                 URL: https://issues.apache.org/jira/browse/HBASE-17773
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Tomu Tsuruhara
            Priority: Trivial


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

{noformat}
$ 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
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)