You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Laszlo Pinter (Jira)" <ji...@apache.org> on 2020/01/07 10:11:00 UTC
[jira] [Created] (HIVE-22700) Compactions may leak memory when
unauthorized
Laszlo Pinter created HIVE-22700:
------------------------------------
Summary: Compactions may leak memory when unauthorized
Key: HIVE-22700
URL: https://issues.apache.org/jira/browse/HIVE-22700
Project: Hive
Issue Type: Bug
Components: Hive
Reporter: Laszlo Pinter
Assignee: Laszlo Pinter
Initiator class determines compaction type periodically. Initiator either runs as hive user or impersonates the owner of the table. When impersonation is used, Initiator#checkForCompaction may leak memory. If impersonation (ugi.doAs()) call fails, FileSystem.closeAllForUGI does not run, therefore does not clean the file system cache.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)