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

0.94 filterRow() may be skipped in 0.96(or onwards) code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.98.0, 0.96.2
    • Filters
    • None
    • Reviewed
    • Thanks for the reviews! I've integrated the v1 patch into trunk, 0.98 & 0.96 branches.
    • Phoenix

    Description

      HBASE-6429 combines both filterRow & filterRow(List<KeyValue> kvs) functions in Filter.
      While 0.94 code or older, it may not implement hasFilterRow as HBase-6429 expected because 0.94(old) hasFilterRow only returns true when filterRow(List<KeyValue> kvs) is overridden not the filterRow(). Therefore, the filterRow() will be skipped.

      Since we don't ask 0.94 users to update their existing filter code, the issue will cause scan returns unexpected keyvalues and break the backward compatibility.

      Attachments

        1. hbase-10366-v1.patch
          4 kB
          Jeffrey Zhong
        2. hbase-10366.patch
          2 kB
          Jeffrey Zhong

        Activity

          People

            jeffreyz Jeffrey Zhong
            jeffreyz Jeffrey Zhong
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: