hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5663) Refactor ORC RecordReader to operate on direct & wrapped ByteBuffers
Date Tue, 19 Nov 2013 21:45:21 GMT

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

Owen O'Malley commented on HIVE-5663:
-------------------------------------

Oops, obviously on second thought the second one is wrong. Please do change the HEADER_SIZE
> 3 into an assert.

> Refactor ORC RecordReader to operate on direct & wrapped ByteBuffers
> --------------------------------------------------------------------
>
>                 Key: HIVE-5663
>                 URL: https://issues.apache.org/jira/browse/HIVE-5663
>             Project: Hive
>          Issue Type: Improvement
>          Components: File Formats
>    Affects Versions: 0.13.0
>         Environment: Ubuntu LXC 
>            Reporter: Gopal V
>            Assignee: Gopal V
>              Labels: ORC
>         Attachments: HIVE-5663.01.patch, HIVE-5663.02.patch
>
>
> The current ORC RecordReader implementation assumes array structures backing the ByteBuffers
it passes around between RecordReaderImpl and Compressed/Uncompressed InStream objects.
> This patch attempts to refactor those assumptions out of both classes, allowing the future
use of direct byte buffers within ORC (as might come from HDFS zero-copy readers).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message