Adar Dembo has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/13401
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java
1 file changed, 17 insertions(+), 8 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Adar Dembo: Looks good to me, approved

--
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: merged
Gerrit-Change-Id: I7076aea3850a716822563938d879289beb3fa67c
Gerrit-Change-Number: 13401
Gerrit-PatchSet: 2
Gerrit-Owner: Yao Xu <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to