hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9471) Bad seek in uncompressed ORC, at row-group boundary.
Date Tue, 27 Jan 2015 05:20:34 GMT

     [ https://issues.apache.org/jira/browse/HIVE-9471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mithun Radhakrishnan updated HIVE-9471:
---------------------------------------
    Status: Patch Available  (was: Open)

> Bad seek in uncompressed ORC, at row-group boundary.
> ----------------------------------------------------
>
>                 Key: HIVE-9471
>                 URL: https://issues.apache.org/jira/browse/HIVE-9471
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats, Serializers/Deserializers
>    Affects Versions: 0.14.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         Attachments: HIVE-9471.1.patch, data.txt, orc_bad_seek_failure_case.hive, orc_bad_seek_setup.hive
>
>
> Under at least one specific condition, using index-filters in ORC causes a bad seek into
the ORC row-group.
> {code:title=stacktrace}
> java.io.IOException: java.lang.IllegalArgumentException: Seek in Stream for column 2
kind DATA to 0 is outside of the data
> 	at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:507)
> 	at org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:414)
> 	at org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:138)
> 	at org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1655)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:227)
> 	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:159)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:370)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:305)
> ...
> Caused by: java.lang.IllegalArgumentException: Seek in Stream for column 2 kind DATA
to 0 is outside of the data
> 	at org.apache.hadoop.hive.ql.io.orc.InStream$UncompressedStream.seek(InStream.java:112)
> 	at org.apache.hadoop.hive.ql.io.orc.InStream$UncompressedStream.seek(InStream.java:96)
> 	at org.apache.hadoop.hive.ql.io.orc.RunLengthIntegerReaderV2.seek(RunLengthIntegerReaderV2.java:310)
> 	at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$StringDictionaryTreeReader.seek(RecordReaderImpl.java:1596)
> 	at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$StringTreeReader.seek(RecordReaderImpl.java:1337)
> 	at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl$StructTreeReader.seek(RecordReaderImpl.java:1852)
> {code}
> I'll attach the script to reproduce the problem herewith.



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

Mime
View raw message