huaxiangsun commented on a change in pull request #2570:
URL: https://github.com/apache/hbase/pull/2570#discussion_r509840556
##########
File path:
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncConnectionImpl.java
##########
@@ -130,8 +133,12 @@ public AsyncConnectionImpl(Configuration conf,
ConnectionRegistry registry, Stri
SocketAddress localAddress, User user) {
this.conf = conf;
this.user = user;
- if (user.isLoginFromKeytab()) {
- spawnRenewalChore(user.getUGI());
+
+ if (user.isLoginFromKeytab() || isMetaReplicaLBMode()) {
Review comment:
My bad, Guava cache does not work in this case, we need a tablecache
like implementation which can look up locations. Will consider chore service
on-demand.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]