You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2012/04/07 01:10:15 UTC
[jira] [Created] (HADOOP-8258) Add interfaces for compression
codecs to use direct byte buffers
Add interfaces for compression codecs to use direct byte buffers
----------------------------------------------------------------
Key: HADOOP-8258
URL: https://issues.apache.org/jira/browse/HADOOP-8258
Project: Hadoop Common
Issue Type: New Feature
Components: io, native
Affects Versions: 3.0.0
Reporter: Todd Lipcon
Currently, the codec interface only provides input/output functions based on byte arrays. Given that most of the codecs are implemented in native code, this necessitates two extra copies - one to copy the input data to a direct buffer, and one to copy the output data back to a byte array. We should add interfaces to Decompressor/Compressor that can work directly with direct byte buffers to avoid these copies.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HADOOP-8258) Add interfaces for compression
codecs to use direct byte buffers
Posted by "Todd Lipcon (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon resolved HADOOP-8258.
---------------------------------
Resolution: Duplicate
Resolving as dup - please see HADOOP-8148.
> Add interfaces for compression codecs to use direct byte buffers
> ----------------------------------------------------------------
>
> Key: HADOOP-8258
> URL: https://issues.apache.org/jira/browse/HADOOP-8258
> Project: Hadoop Common
> Issue Type: New Feature
> Components: io, native, performance
> Affects Versions: 3.0.0
> Reporter: Todd Lipcon
>
> Currently, the codec interface only provides input/output functions based on byte arrays. Given that most of the codecs are implemented in native code, this necessitates two extra copies - one to copy the input data to a direct buffer, and one to copy the output data back to a byte array. We should add interfaces to Decompressor/Compressor that can work directly with direct byte buffers to avoid these copies.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira