HBASE-16616 Rpc handlers stuck on ThreadLocalMap.expungeStaleEntry (Tomu Tsuruhara)

This commit is contained in:
tedyu 2016-09-12 16:29:24 -07:00
parent 94026d0d09
commit 8ad14bac67
2 changed files with 5 additions and 0 deletions

View File

@ -181,6 +181,10 @@ public class Counter {
return sum;
}
public void destroy() {
indexHolderThreadLocal.remove();
}
@Override
public String toString() {
Cell[] cells = containerRef.get().cells;

View File

@ -2003,6 +2003,7 @@ public class RpcServer implements RpcServerInterface, ConfigurationObserver {
LOG.trace(ignored);
}
}
rpcCount.destroy();
}
private UserGroupInformation createUser(ConnectionHeader head) {