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

Result#compareResults should compare tags.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 3.0.0-alpha-1, 1.7.0, 2.5.0, 2.4.2
    • Client
    • None
    • Reviewed

    Description

      Today Result#compareResults compares the 2 cells based on following parameters.

          for (int i = 0; i < res1.size(); i++) {
            if (!ourKVs[i].equals(replicatedKVs[i]) ||
                !CellUtil.matchingValue(ourKVs[i], replicatedKVs[i])) {
              throw new Exception("This result was different: "
                  + res1.toString() + " compared to " + res2.toString());
            }
      

      row, family, qualifier, timestamp, type, value.

      We also need to compare tags to determine if both cells are equal or not.
       

       

      Attachments

        Activity

          People

            shahrs87 Rushabh Shah
            shahrs87 Rushabh Shah
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: