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

VerifyReplication does not honour versions option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.98.16, 2.0.0
    • 1.2.0, 1.3.0, 0.98.17, 2.0.0
    • tooling
    • None
    • Reviewed

    Description

      source:

      hbase(main):001:0> scan 't1',

      {RAW => true, VERSIONS => 100}
      ROW COLUMN+CELL
      r1 column=f1:, timestamp=1449030102091, value=value1112
      r1 column=f1:, timestamp=1449029774173, value=value1001
      r1 column=f1:, timestamp=1449029709974, value=value1002

      target:
      hbase(main):023:0> scan 't1', {RAW => true, VERSIONS => 100}

      ROW COLUMN+CELL
      r1 column=f1:, timestamp=1449030102091, value=value1112
      r1 column=f1:, timestamp=1449030090758, value=value1112
      r1 column=f1:, timestamp=1449029984282, value=value1111
      r1 column=f1:, timestamp=1449029774173, value=value1001
      r1 column=f1:, timestamp=1449029709974, value=value1002

      /bin/hbase org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication --versions=100 1 t1

      org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication$Verifier$Counters
      GOODROWS=1

      Does not show any mismatch. Ideally it should show. This is because in
      VerifyReplication Class maxVersion is not correctly set.

      Attachments

        1. HBASE-14905_v4.patch
          9 kB
          Vishal Khandelwal
        2. HBASE-14905_v3.patch
          6 kB
          Heng Chen
        3. 14905-v2.txt
          6 kB
          Ted Yu
        4. HBASE-14905.patch
          2 kB
          Vishal Khandelwal
        5. test.patch
          5 kB
          Heng Chen

        Activity

          People

            vishk Vishal Khandelwal
            vishk Vishal Khandelwal
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: