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

Result#compareResults should compare tags.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 3.0.0-alpha-1, 1.7.0, 2.5.0, 2.4.2
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: