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

Responses to prioritizedLoad() requests should be returned directly and not via the statestore

    XMLWordPrintableJSON

Details

    Description

      Currently, when a statement (e.g. SELECT) needs to access some unloaded tables, it issues a prioritizedLoad() request to the catalog. The catalog loads the table metadata but does not respond directly to the coordinator that issued the request. Instead, the metadata for the newly loaded tables are broadcast via the statestore. The problem with this approach is that the latency of the response may vary significantly and may depend on the latencies of other unrelated metadata operations (e.g. REFRESH) that happen to be in the same topic update.

      The response to a prioritizedLoad() request should come directly to the issuing coordinator. Other coordinators will receive the metadata of the newly loaded table via the statestore. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dtsirogiannis Dimitris Tsirogiannis
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: