impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Tauber-Marshall (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5167: Use a single Kudu client across the BE
Date Thu, 04 May 2017 01:06:28 GMT
Thomas Tauber-Marshall has uploaded a new change for review.

Change subject: IMPALA-5167: Use a single Kudu client across the BE

IMPALA-5167: Use a single Kudu client across the BE

Creating Kudu clients is very expensive as each will fetch
metadata from the Kudu master, so we should minimize the
number of Kudu clients that get created.

This patch stores a single Kudu client in the ExecEnv to be
used across the BE for all queries.

- Ran a stress test locally: scan of a Kudu table, 100
  concurrent queries, load on the Kudu master was reduced
  by about half, from ~25% cpu to ~12% cpu, and latency
  was reduced by ~18% (from ~13s for 10,000 queries to
  complete down to ~11s). TODO: perf testing on a cluster.

Change-Id: I6b0c12a256c33e8ef32315b3736cae2dea2ae705
M be/src/exec/
M be/src/exec/
M be/src/exec/kudu-table-sink.h
M be/src/exprs/
M be/src/runtime/
M be/src/runtime/exec-env.h
M be/src/runtime/
M be/src/runtime/query-state.h
M bin/
9 files changed, 68 insertions(+), 59 deletions(-)

  git pull ssh:// refs/changes/92/6792/1
To view, visit
To unsubscribe, visit

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b0c12a256c33e8ef32315b3736cae2dea2ae705
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Thomas Tauber-Marshall <>

View raw message