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

TableInputFormatBase with row filters scan too far

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.19.0
    • 0.19.1, 0.20.0
    • None
    • None

    Description

      When TableInputFormatBase has a non-null RowFilterInterface to apply, it creates combines the row filter with a StopRowFilter to get a scanner for each input split. However, the StopRowFilter never indicates that fitlerAllRemaining is true, so each input split will end up scanning to the end of the table. (Contrast with HTable.getScanner(byte[][] columns, byte[] starRow, byte[] stopRow, long timestamp) which uses a StopRowFilter wrapped in a WhileMatchRowFilter to ensure that scanning ends at the stop row.

      Attachments

        1. HBASE-1190.patch
          1 kB
          Dave Latham

        Activity

          People

            apurtell Andrew Kyle Purtell
            davelatham Dave Latham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: