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

filters are not working correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.0, 0.90.0
    • 0.20.0, 0.90.0
    • Filters
    • None
    • Reviewed

    Description

      Filters used in Scanning the table are not working correctly. For example a table with three rows:
      1. rowkey = adminbackslash-nb0, desc:temp = "temp"
      2. rowkey = adminbackslash-nb1, desc:temp = "temp"
      3. rowkey = adminkleptoman, desc:temp = "temp"

      If I scan all rows in the table without filter I get all the rows as expected. But applying a simple prefixfilter with parameter "adminbackslash" will return only first row. I searched it down to HRegion::nextInternal method, which will not output one passed row before denied row(by filter).

      Attachments

        1. testfilter.patch
          3 kB
          Michael Stack
        2. HBASE-1790-v7.patch
          97 kB
          Jonathan Gray
        3. HBASE-1790-v6.patch
          97 kB
          Jonathan Gray
        4. HBASE-1790-v5.patch
          98 kB
          Jonathan Gray
        5. HBASE-1790-v4.patch
          63 kB
          Jonathan Gray
        6. HBASE-1790-v2.patch
          6 kB
          Jonathan Gray
        7. hbase-1790.patch
          1 kB
          Matus Zamborsky
        8. 1790-3.patch
          13 kB
          Matus Zamborsky

        Issue Links

          Activity

            People

              streamy Jonathan Gray
              backslash Matus Zamborsky
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: