Details
Description
- RpcMetrics objects are registered into defaultmetricssystem
- although there is a shutdown() call (which is actually invoked) it doesn't unregisters itself from the metricssystem
- RpcDetailedMetrics has the same issue
background
- hiveserver2 slowly eats up memory when running simple queries in new sessions (select 1)
- every session opens a tezsession
- tezsession has rpcmetrics
- with a 150M heap after around 30 session the jvm gets outofmemmory
Attachments
Attachments
Issue Links
- is related to
-
HIVE-22038 Fix memory related sideeffects of opening/closing sessions
- Patch Available