Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14112

VerifyReplication may fail to count bad rows when regions of table in source cluster are empty

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • 1.0.0, 0.99.2, 2.0.0
    • None
    • Replication
    • None

    Description

      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.

      Attachments

        1. HBASE-14112.master.001.patch
          11 kB
          Mike Drob
        2. HBASE-14112-trunk-v1.patch
          6 kB
          Jianwei Cui

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cuijianwei Jianwei Cui
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: