hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi Ozawa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9692) Improving log message when SequenceFile reader throws EOFException on zero-length file
Date Thu, 22 Oct 2015 21:57:27 GMT

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

Tsuyoshi Ozawa commented on HADOOP-9692:
----------------------------------------

Done. Thank you for pinging me.

> Improving log message when SequenceFile reader throws EOFException on zero-length file
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9692
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9692
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.0.3-alpha, 2.1.0-beta, 2.0.5-alpha
>            Reporter: Chu Tong
>            Assignee: Zhe Zhang
>              Labels: BB2015-05-TBR
>             Fix For: 2.8.0, 3.0.0
>
>         Attachments: HADOOP-9692.20151021.patch, HADOOP-9692.patch, HADOOP-9692.patch,
HADOOP-9692.patch, HADOOP-9692.patch, HADOOP-9692.patch
>
>
> sequencefile reader throws EOFException on zero-length file, stacktrace as shown:
> Caused by: java.io.EOFException
>         at java.io.DataInputStream.readFully(DataInputStream.java:180)
>         at java.io.DataInputStream.readFully(DataInputStream.java:152)
>         at org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1845)
>         at org.apache.hadoop.io.SequenceFile$Reader.initialize(SequenceFile.java:1810)
>         at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1759)
>         at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1773)
>         at org.apache.hadoop.mapred.SequenceFileRecordReader.<init>(SequenceFileRecordReader.java:49)
>         at org.apache.hadoop.mapred.SequenceFileInputFormat.getRecordReader(SequenceFileInputFormat.java:64)
>         at org.apache.hadoop.hive.ql.io.CombineHiveRecordReader.<init>(CombineHiveRecordReader.java:65)
>         ... 16 more



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

Mime
View raw message