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

This commit is contained in:
tedyu 2016-09-12 15:49:23 -07:00
parent 552400e536
commit 8855670cd7
2 changed files with 5 additions and 0 deletions

View File

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

View File

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