You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2018/02/02 23:38:00 UTC

[jira] [Commented] (ORC-296) work around HADOOP-15171; also fix stream contract

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

Sergey Shelukhin commented on ORC-296:
--------------------------------------

Updated the patch - we need to call reset on the codec for every decompress call. 
[~gopalv] can you take a look?

> work around HADOOP-15171; also fix stream contract
> --------------------------------------------------
>
>                 Key: ORC-296
>                 URL: https://issues.apache.org/jira/browse/ORC-296
>             Project: ORC
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Major
>         Attachments: ORC-296.01.patch, ORC-296.patch
>
>
> Stream read is never supposed to return 0 unless 0 bytes were requested, that breaks protobuf.
> The reason the streams can return 0 is that some buffers decompress to 0 bytes due to HADOOP-15171.



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