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

Test for HBASE-9915 (avoid reading index blocks)

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.94.15, 0.96.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In HBASE-9915 we found that for encoded blocks the quick check whether the seek key falls on the current block did not work.

      This adds a unittest so we won't regress. The test counts the number of blocks accessed (real data/index block in 0.94 and cache hits in trunk). Without HBASE-9915 we see about 50% more blocks hit in this test.

        Attachments

        1. 10058-0.94.txt
          4 kB
          Lars Hofhansl
        2. 10058-trunk.txt
          5 kB
          Lars Hofhansl

          Activity

            People

            • Assignee:
              larsh Lars Hofhansl
              Reporter:
              larsh Lars Hofhansl
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: