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

ColumnRangeFilter combined with ColumnPaginationFilter can produce incorrect result since 1.4

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 1.4.4, 2.0.1
    • Fix Version/s: 3.0.0, 1.4.6, 2.2.0, 2.1.1, 2.0.2
    • Component/s: Filters
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When ColumnPaginationFilter is combined with ColumnRangeFilter, we may see incorrect result.

      Here is a simple example.

      One row with 10 columns c0, c1, c2, .., c9. I have a ColumnRangeFilter for range c2 to c9. Then I have a ColumnPaginationFilter with limit 5 and offset 0. FileterList is FilterList(Operator.MUST_PASS_ALL, ColumnRangeFilter, ColumnPaginationFilter).
      We expect 5 columns being returned. But in HBase 1.4 and after, 4 columns are returned.
      In 1.2.x, the correct 5 columns are returned.

        Attachments

        1. HBASE-20565.v3.patch
          11 kB
          Zheng Hu
        2. HBASE-20565.branch-1.v1.patch
          13 kB
          Zheng Hu
        3. HBASE-20565.v2.patch
          11 kB
          Zheng Hu
        4. HBASE-20565.v1.patch
          6 kB
          Zheng Hu
        5. debug.diff
          1 kB
          Zheng Hu
        6. debug.log
          4 kB
          Zheng Hu
        7. test-branch-1.4.patch
          3 kB
          Jerry He

          Issue Links

            Activity

              People

              • Assignee:
                openinx Zheng Hu
                Reporter:
                jinghe Jerry He
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: