hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13223) HoS may hang for queries that run on 0 splits
Date Mon, 14 Mar 2016 22:35:33 GMT

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

Prasanth Jayachandran commented on HIVE-13223:
----------------------------------------------

I created an empty ORC file and ran orcfiledump on it. It threw exception

{code}
create table concat_incompat(key string, value string) stored as orc;
insert overwrite table concat_incompat select * from src where key > 1000; // return 0
rows

hive --orcfiledump file:///app/warehouse/concat_incompat/000000_0
Processing data file file:/app/warehouse/concat_incompat/000000_0 [length: 0]
Exception in thread "main" java.lang.IndexOutOfBoundsException
	at java.nio.Buffer.checkIndex(Buffer.java:540)
	at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:139)
	at org.apache.hadoop.hive.ql.io.orc.ReaderImpl.extractMetaInfoFromFooter(ReaderImpl.java:510)
	at org.apache.hadoop.hive.ql.io.orc.ReaderImpl.<init>(ReaderImpl.java:361)
	at org.apache.hadoop.hive.ql.io.orc.OrcFile.createReader(OrcFile.java:83)
	at org.apache.hadoop.hive.ql.io.orc.FileDump.getReader(FileDump.java:239)
	at org.apache.hadoop.hive.ql.io.orc.FileDump.printMetaDataImpl(FileDump.java:312)
	at org.apache.hadoop.hive.ql.io.orc.FileDump.printMetaData(FileDump.java:291)
	at org.apache.hadoop.hive.ql.io.orc.FileDump.main(FileDump.java:138)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
{code}

> HoS  may hang for queries that run on 0 splits 
> -----------------------------------------------
>
>                 Key: HIVE-13223
>                 URL: https://issues.apache.org/jira/browse/HIVE-13223
>             Project: Hive
>          Issue Type: Bug
>          Components: Spark
>    Affects Versions: 2.1.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-13223.1.patch, HIVE-13223.patch
>
>
> Can be seen on all timed out tests after HIVE-13040 went in



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

Mime
View raw message