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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.1, 1.1.0, 0.98.12, 2.0.0
    • Client
    • None
    • 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.

      apurtell, FYI.

      Attachments

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

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: