hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guanghao Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17773) VerifyReplication tool wrongly emits warning "ERROR: Invalid argument '--recomparesleep=xx'"
Date Mon, 13 Mar 2017 09:55:04 GMT

     [ https://issues.apache.org/jira/browse/HBASE-17773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Guanghao Zhang updated HBASE-17773:
      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Pushed to master and branch-1. Thanks [~tomu.tsuruhara] for the patch.

> 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
>            Assignee: Tomu Tsuruhara
>            Priority: Trivial
>         Attachments: HBASE-17773.master.001.patch
> 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

View raw message