hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomu Tsuruhara (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17773) VerifyReplication tool wrongly emits warning "ERROR: Invalid argument '--recomparesleep=xx'"
Date Sat, 11 Mar 2017 09:20:04 GMT
Tomu Tsuruhara created HBASE-17773:

             Summary: VerifyReplication tool wrongly emits warning "ERROR: Invalid argument
                 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.

$ 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>

 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

 peerid       Id of the peer used for verification, must match the one given for replication
 tablename    Name of the table to verify

 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

This message was sent by Atlassian JIRA

View raw message