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

Add KUDU_REPLICA_SELECTION config and query option

    XMLWordPrintableJSON

Details

    • 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

          Activity

            People

              wzhou Wenzhe Zhou
              granthenke Grant Henke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: