Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
Impala 4.0.0
-
ghx-label-3
Description
Sometimes it is useful to target queries at the LEADER_ONLY instead of the default CLOSEST_REPLICA. We should expose this option in Impala similar to the way KUDU_READ_MODE is exposed:
https://impala.apache.org/docs/build/html/topics/impala_kudu_read_mode.html
Currently there is a test only flag, FLAGS_pick_only_leaders_for_tests, that somewhat does this:
https://github.com/apache/impala/blob/da2999afd9ddc45d35141649d17db507e03ee9bf/be/src/exec/kudu-scanner.cc#L195-L198
Attachments
Issue Links
- is related to
-
IMPALA-10481 Lack of TServer affinity in remote Kudu scans results in bad OS buffer cache behavior on tablet servers
- Resolved