hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chu Tong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-9692) sequencefile reader throws EOFException on zero-length file
Date Wed, 03 Jul 2013 05:24:27 GMT
Chu Tong created HADOOP-9692:
--------------------------------

             Summary: 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
            Reporter: Chu Tong


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message