Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7926 long-lived daemons for query fragment execution, I/O and caching
  3. HIVE-10063

LLAP: LowLevelCacheImpl does not match cached ranges properly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • llap
    • None
    • None

    Description

      LowLevelCacheImpl uses skip list to map start disk range offset to disk ranges. Find for match in the skip list uses cache.subMap() to identify correct disk range. This will not work if the requested disk range offset does not exactly match the cache disk range offset.
      For example: If the cache disk range is 0 - 1000 bytes and if the requested disk range is 500 - 1000 there will not be cache hit.

      We should probably use floorEntry() to get the greatest entry less than or equal to provided key.

      Attachments

        Activity

          People

            sershe Sergey Shelukhin
            prasanth_j Prasanth Jayachandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: