You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gauthier Leonard (JIRA)" <ji...@apache.org> on 2019/04/04 13:48:00 UTC
[jira] [Comment Edited] (HIVE-20979) Fix memory leak in hive
streaming
[ https://issues.apache.org/jira/browse/HIVE-20979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809868#comment-16809868 ]
Gauthier Leonard edited comment on HIVE-20979 at 4/4/19 1:47 PM:
-----------------------------------------------------------------
It appears that the fixes are not present on the 3.1.1 release. Can I update the *Fix Version/s* accordingly? I assume the fixes will be in 3.1.2 as it is on master?
was (Author: nuttymoon):
It appears that the fixes are not present on the 3.1.1 release. Can I update the *Fix Version/s* accordingly? I assume the fix will be in 3.1.2 as it is on master?
> 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
> Fix For: 4.0.0, 3.1.1
>
> Attachments: HIVE-20979.1.patch, HIVE-20979.1.patch, HIVE-20979.2.patch, HIVE-20979.3.patch, HIVE-20979.4.patch, HIVE-20979.5.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)