You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sudheesh Katkam (JIRA)" <ji...@apache.org> on 2015/09/01 19:18:46 UTC

[jira] [Commented] (HIVE-11688) OrcRawRecordMerger does not close primary reader if not fully consumed

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

Sudheesh Katkam commented on HIVE-11688:
----------------------------------------

[~prasanth_j] can this be merged? Or do the tests need to be run again, now that the master has moved?

> OrcRawRecordMerger does not close primary reader if not fully consumed
> ----------------------------------------------------------------------
>
>                 Key: HIVE-11688
>                 URL: https://issues.apache.org/jira/browse/HIVE-11688
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>            Reporter: Sudheesh Katkam
>            Assignee: Sudheesh Katkam
>              Labels: orc
>         Attachments: HIVE-11688.patch
>
>
> If {{OrcRawRecordMerger#close}} is called before fully reading an orc file, the {{primary}} reader is not closed. 
> The {{primary}} reader is assigned using {{readers.pollFirstEntry()}} which deletes the reader from {{readers}}, and currently the {{OrcRawRecordMerger#close}} method only closes readers in the map.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)