[ https://issues.apache.org/jira/browse/HIVE-20979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704218#comment-16704218 ]
Shubham Chaurasia commented on HIVE-20979: ------------------------------------------ Thanks for the review [~prasanth_j] [~ewohlstadter] [~ashutoshc] These test failures do not seem related. However, as you said [~prasanth_j], will keep uploading patches until I get green. > Fix memory leak in hive streaming > --------------------------------- > > Key: HIVE-20979 > URL: https://issues.apache.org/jira/browse/HIVE-20979 > Project: Hive > Issue Type: Bug > Components: Streaming > Affects Versions: 3.1.1 > Reporter: Shubham Chaurasia > Assignee: Shubham Chaurasia > Priority: Critical > Labels: pull-request-available > Attachments: HIVE-20979.1.patch, HIVE-20979.1.patch, > HIVE-20979.2.patch, HIVE-20979.3.patch, HIVE-20979.4.patch > > > {{1) HiveStreamingConnection.Builder#init() adds a shutdown hook handler via > }}{{ShutdownHookManager.addShutdownHook but it is never removed which causes > all the handlers to accumulate and hence a memory leak.}} > 2) AbstractRecordWriter creates an instance of FileSystem but does not close > it which in turn causes a leak due to accumulation in FileSystem$Cache#map > -- This message was sent by Atlassian JIRA (v7.6.3#76005)