You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2014/04/15 08:28:17 UTC

[jira] [Commented] (TEZ-1050) EOFException is thrown by ShuffledUnorderedKVReader

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

Siddharth Seth commented on TEZ-1050:
-------------------------------------

[~cheolsoo], next() is supposed to return false if there's no more data. Is this consistent ? Could you provide details on how to run this test.

> EOFException is thrown by ShuffledUnorderedKVReader
> ---------------------------------------------------
>
>                 Key: TEZ-1050
>                 URL: https://issues.apache.org/jira/browse/TEZ-1050
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Cheolsoo Park
>
> Not sure whether this is expected or not, but I am seeing an EOFException while doing ShuffledUnorderedKVReader.next() in Pig. See [here|https://github.com/apache/pig/blob/tez/src/org/apache/pig/backend/hadoop/executionengine/tez/POValueInputTez.java#L100] for the source code.
> {code}
> : Caused by: java.io.EOFException: Completed reading 31       
> : at org.apache.tez.runtime.library.common.sort.impl.IFile$Reader.positionToNextRecord(IFile.java:480)
> : at org.apache.tez.runtime.library.common.shuffle.impl.InMemoryReader.readRawKey(InMemoryReader.java:94)
> : at org.apache.tez.runtime.library.common.sort.impl.IFile$Reader.nextRawKey(IFile.java:510)       
> : at org.apache.tez.runtime.library.common.readers.ShuffledUnorderedKVReader.readNextFromCurrentReader(ShuffledUnorderedKVReader.java:147)
> : at org.apache.tez.runtime.library.common.readers.ShuffledUnorderedKVReader.next(ShuffledUnorderedKVReader.java:108)
> : at org.apache.pig.backend.hadoop.executionengine.tez.POValueInputTez.getNextTuple(POValueInputTez.java:100)
> : ... 12 more
> {code}
> Shouldn't next() return false when it's EOF instead of throwing a runtime exception? Is this exception supposed to be handled on Pig side?
> This makes a Pig e2e test (CastScalar_11) fail.



--
This message was sent by Atlassian JIRA
(v6.2#6252)