[
https://issues.apache.org/jira/browse/HBASE-17773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907088#comment-15907088
]
Guanghao Zhang commented on HBASE-17773:
----------------------------------------
+1.
> 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
(v6.3.15#6346)