You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2016/12/13 04:08:58 UTC

[jira] [Created] (KUDU-1806) Creating a list of scan tokens should retrieve tablets in larger batches

Todd Lipcon created KUDU-1806:
---------------------------------

             Summary: Creating a list of scan tokens should retrieve tablets in larger batches
                 Key: KUDU-1806
                 URL: https://issues.apache.org/jira/browse/KUDU-1806
             Project: Kudu
          Issue Type: Improvement
          Components: client
    Affects Versions: 1.2.0
            Reporter: Todd Lipcon
            Priority: Critical


In a test on a 200-node cluster with 40 concurrent query streams, we found that the Impala planner was sometimes taking minutes to fetch the list of scan tokens. The tables in the query had several thousand tablets, so with the default batch size of 10 tablets per GetTableLocations RPC, the planning required hundreds of round trips, each of which had some chance of getting bumped from the queue due to backpressure, etc.

A local hack to change the batching to 1000 tablets per RPC reduced the planning times down to sub-second.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)