Yao Xu has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/13401


Change subject: KUDU-2802 [java] tableExists API optimizations
......................................................................

KUDU-2802 [java] tableExists API optimizations

Currently the Java client `tableExists()` method uses a ListTables
rpc. Instead it should use a GetTableSchema rpc. Because ListTables
is going to perform really poorly with a cold Sentry cache: it'll
send an RPC to Sentry for every table in the catalog.

Change-Id: I7076aea3850a716822563938d879289beb3fa67c
---
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
1 file changed, 17 insertions(+), 8 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/01/13401/1
--
To view, visit http://gerrit.cloudera.org:8080/13401
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7076aea3850a716822563938d879289beb3fa67c
Gerrit-Change-Number: 13401
Gerrit-PatchSet: 1
Gerrit-Owner: Yao Xu <[email protected]>

Reply via email to