Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7928

Investigate consistent placement of remote scan ranges

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 3.2.0
    • Fix Version/s: Impala 3.2.0
    • Component/s: Backend
    • Labels:
      None
    • Epic Color:
      ghx-label-2

      Description

      With the file handle cache, it is useful for repeated scans of the same file to go to the same node, as that node will already have a file handle cached.

      When scheduling remote ranges, the scheduler introduces randomness that can spread reads across all of the nodes. Repeated executions of queries on the same set of files will not schedule the remote reads on the same nodes. This causes a large amount of duplication across file handle caches on different nodes. This reduces the efficiency of the cache significantly.

      It may be useful for the scheduler to introduce some determinism in scheduling remote reads to take advantage of the file handle cache. This is a variation on the well-known tradeoff between skew and locality.

       

        Attachments

          Activity

            People

            • Assignee:
              joemcdonnell Joe McDonnell
              Reporter:
              joemcdonnell Joe McDonnell
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: