hive
hive copied to clipboard
remove HiveConf and Configuration from thread-local after conection to h...
...iveserver is closed. I was done to clean sharkserver memory after all clients connections are closed. Without this fix I see about 200 HiveConf and about 200 hadoop Configuration instances in sharkserver memory even if all connections are closed and server is idle for a long time. HiveConf and Confugiration are quite large instances - about 100-150KB each. Totally they use about 40-60 MB of memory
before:
after:
