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)