You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2018/06/25 15:54:00 UTC

[jira] [Assigned] (HBASE-14112) VerifyReplication may fail to count bad rows when regions of table in source cluster are empty

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

Mike Drob reassigned HBASE-14112:
---------------------------------

    Assignee: Mike Drob

> VerifyReplication may fail to count bad rows when regions of table in source cluster are empty
> ----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14112
>                 URL: https://issues.apache.org/jira/browse/HBASE-14112
>             Project: HBase
>          Issue Type: Improvement
>          Components: Replication
>    Affects Versions: 1.0.0, 0.99.2, 2.0.0
>            Reporter: Jianwei Cui
>            Assignee: Mike Drob
>            Priority: Minor
>         Attachments: HBASE-14112-trunk-v1.patch, HBASE-14112.master.001.patch
>
>
> VerifyReplication will start the scanner for the table of peer cluster in Verifier#map(...). If the regions of the table in source cluster are empty, the Verifier#map(...) won't be invoked, so that the tool can not count the bad rows in the table of peer cluster. A possible improvement is to check whether the scanner for the table of peer cluster has been opened in Verifier#cleanup(...), and if not, open the scanner and count the rows only in the table of peer cluster as bad rows. Suggestions and discussions are welcomed.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)