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-20203) Arrow SerDe leaks a DirectByteBuffer
Date Fri, 20 Jul 2018 13:15:00 GMT

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

Hive QA commented on HIVE-20203:
--------------------------------



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

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

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

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

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: 12932312 - PreCommit-HIVE-Build

> Arrow SerDe leaks a DirectByteBuffer
> ------------------------------------
>
>                 Key: HIVE-20203
>                 URL: https://issues.apache.org/jira/browse/HIVE-20203
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Eric Wohlstadter
>            Assignee: Eric Wohlstadter
>            Priority: Blocker
>         Attachments: HIVE-20203.1.patch, HIVE-20203.2.patch, HIVE-20203.3.patch
>
>
> ArrowColumnarBatchSerDe allocates an arrow NullableMapVector for each task that uses
the serde.
> The vector is a DirectByteBuffer allocated from Arrow's off-heap buffer pool.
> This buffer is never closed and leaks about 1K of physical memory for each task.
> This patch does three things:
>  # Ensure the buffer is closed when the RecordWriter for the task is closed. 
>  # Adds per-task memory accounting by assigning a ChildAllocator to each task from the
RootAllocator.
>  # Enforces that the ChildAllocator for a task has released all memory assigned to it,
when the task is completed. 
> The patch assumes that close() is always called on the RecordWriter when a task is finished
(even if there is a failure during task execution). 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message