hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20979) Fix memory leak in hive streaming
Date Fri, 30 Nov 2018 05:24:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-20979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704283#comment-16704283
] 

Hive QA commented on HIVE-20979:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12950117/HIVE-20979.5.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 15644 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15124/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15124/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15124/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12950117 - PreCommit-HIVE-Build

> 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, 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)

Mime
View raw message