You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@parquet.apache.org by "Gabor Szadovszky (Jira)" <ji...@apache.org> on 2024/02/19 09:08:00 UTC
[jira] [Resolved] (PARQUET-2431) Handle ByteBufferAllocator gracefully
[ https://issues.apache.org/jira/browse/PARQUET-2431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabor Szadovszky resolved PARQUET-2431.
---------------------------------------
Resolution: Fixed
> Handle ByteBufferAllocator gracefully
> -------------------------------------
>
> Key: PARQUET-2431
> URL: https://issues.apache.org/jira/browse/PARQUET-2431
> Project: Parquet
> Issue Type: Bug
> Components: parquet-mr
> Affects Versions: 1.13.1
> Reporter: Gabor Szadovszky
> Assignee: Gabor Szadovszky
> Priority: Major
>
> We have introduced the interface [ByteBufferAllocator|https://github.com/apache/parquet-mr/blob/master/parquet-common/src/main/java/org/apache/parquet/bytes/ByteBufferAllocator.java] a while ago. This interface has its {{release}} method while parquet-mr does not test it whether it is invoked properly in all required situations.
> We need to add tests for this and fix the potential issues.
> Note: In most cases the release method is a no-op so not invoking it would not cause any issues. Meanwhile, if someone would implement their own {{ByteBufferAllocator}} that requires the {{release}} method to be invoked we might generate memory leaks failing to do so.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org