You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2018/03/26 22:20:00 UTC
[jira] [Commented] (HIVE-19056) IllegalArgumentException in
FixAcidKeyIndex when ORC file has 0 rows
[ https://issues.apache.org/jira/browse/HIVE-19056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16414656#comment-16414656 ]
Jason Dere commented on HIVE-19056:
-----------------------------------
Small patch to just mark the file as valid in the case that the file has 0 rows.
[~ekoifman], can you review?
> IllegalArgumentException in FixAcidKeyIndex when ORC file has 0 rows
> --------------------------------------------------------------------
>
> Key: HIVE-19056
> URL: https://issues.apache.org/jira/browse/HIVE-19056
> Project: Hive
> Issue Type: Bug
> Components: ORC, Transactions
> Reporter: Jason Dere
> Assignee: Jason Dere
> Priority: Major
> Attachments: HIVE-19056.1.patch
>
>
> {noformat}
> ERROR recovering /Users/jdere/dev/hwx/gerrit/hive2-gerrit/ql/target/tmp/TestFixAcidKeyIndex.testValidKeyIndex.orc
> java.lang.IllegalArgumentException: Seek to a negative row number -1
> at org.apache.orc.impl.RecordReaderImpl.seekToRow(RecordReaderImpl.java:1300)
> at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl.seekToRow(RecordReaderImpl.java:101)
> at org.apache.hadoop.hive.ql.io.orc.FixAcidKeyIndex.recoverFile(FixAcidKeyIndex.java:232)
> at org.apache.hadoop.hive.ql.io.orc.FixAcidKeyIndex.recoverFiles(FixAcidKeyIndex.java:132)
> at org.apache.hadoop.hive.ql.io.orc.FixAcidKeyIndex.main(FixAcidKeyIndex.java:104)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)