[ 
https://issues.apache.org/jira/browse/HBASE-17822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16069405#comment-16069405
 ] 

Shibin Zhang commented on HBASE-17822:
--------------------------------------

[~stack]
i add two option outputDir and maxBadRows.The outputDir set  the mapreduce 
output files,the maxBadRows to limit max bad rows to print
like this:
 hbase  org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication  
--outputfile=/tmp --maxbadrows=5   1  tt

the result in hdfs cat the output, in attatch picture


but in my  later code ,i change the outputDir default value to "/hbase-$verify"



> Set maxBadRows and outputDirectory  option for VerifyReplication
> ----------------------------------------------------------------
>
>                 Key: HBASE-17822
>                 URL: https://issues.apache.org/jira/browse/HBASE-17822
>             Project: HBase
>          Issue Type: Improvement
>          Components: mapreduce
>            Reporter: Shibin Zhang
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17822-master.patch
>
>
> Currently,this tool will print too many rowkey as badrows  if source and peer 
> table have many inconsistent row.So,it is necessay to set maxBadRows to print.
> Also,look for badrows rowkey is inconvenient  in MR job log .It might be 
> useful to set a reduce to aggregate badrowkeys which will be print in MR job 
> output file.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to