Rajesh Balamohan created HIVE-22753: ---------------------------------------
Summary: Fix gradual mem leak: Operationlog related appenders should be cleared up on errors Key: HIVE-22753 URL: https://issues.apache.org/jira/browse/HIVE-22753 Project: Hive Issue Type: Improvement Components: HiveServer2 Reporter: Rajesh Balamohan Attachments: image-2020-01-21-11-14-37-911.png In case of exception in SQLOperation, operational log does not get cleared up. This causes gradual build up of HushableRandomAccessFileAppender causing HS2 to OOM after some time. !image-2020-01-21-11-14-37-911.png|width=431,height=267! !2Q==|width=487,height=204! Prod instance mem !Z|width=531,height=159! Each HushableRandomAccessFileAppender holds internal ref to RandomAccessFileAppender which holds a 256 KB bytebuffer, causing the mem leak. Related ticket: HIVE-18820 -- This message was sent by Atlassian Jira (v8.3.4#803005)