HBASE-16616 Rpc handlers stuck on ThreadLocalMap.expungeStaleEntry (Tomu Tsuruhara)
This commit is contained in:
parent
552400e536
commit
8855670cd7
|
@ -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;
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue