Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13262 ResultScanner doesn't return all rows in Scan
  3. HBASE-13303

Fix size calculation of results on the region server

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.1, 1.1.0, 0.98.12, 2.0.0
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      One of the problems in the parent is due to different size calculation between client and server when HFilev3 is used.

      Since tags are never shipped to the client in a scan, we can have special size function (or a flag on the current one) that does not include the tags and the tags meta information (the length is what causes the issue), so that client and server will always calculate the same size.

      I'll make a patch within the hour, unless somebody beats me to it.

      Andrew Purtell, FYI.

        Attachments

        1. TestResultSizeEstimation.java
          5 kB
          Andrew Purtell
        2. HBASE-13303-addendum-v1.patch
          2 kB
          Jonathan Lawlor
        3. HBASE-13303-0.98.patch
          8 kB
          Andrew Purtell
        4. HBASE-13303-0.98.patch
          8 kB
          Andrew Purtell
        5. HBASE-13303-0.98.patch
          9 kB
          Andrew Purtell
        6. HBASE-13303.patch
          7 kB
          Andrew Purtell
        7. HBASE-13303.patch
          10 kB
          Andrew Purtell
        8. HBASE-13303.patch
          10 kB
          Andrew Purtell

          Issue Links

            Activity

              People

              • Assignee:
                apurtell Andrew Purtell
                Reporter:
                lhofhansl Lars Hofhansl
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: