Parquet/parquet-mr — pull request #424 by massie (2014-09-22 21:07:35+00:00)
Title: Simple test case to show issue with UnboundRecordFilter

Adding a UnboundRecordFilter to the `TestInputOutputFormat` test in `parquet-avro` causes the following failure. (I'm not asking for this to be merged -- just wanted to see if anyone else is seeing this issue too).

````
Sep 22, 2014 1:58:04 PM org.apache.hadoop.mapreduce.lib.input.FileInputFormat listStatus
INFO: Total input paths to process : 1
Sep 22, 2014 1:58:04 PM org.apache.hadoop.mapred.Task initialize
INFO: Using ResourceCalculatorPlugin : null
Sep 22, 2014 1:58:04 PM org.apache.hadoop.mapred.LocalJobRunner$Job run
WARNING: job_local_0002
parquet.io.ParquetDecodingException: Can not read value at 1 in block 0 in file file:/Users/matt/workspace/berkeley/parquet-mr/parquet-avro/target/test/hadoop/TestInputOutputFormat/parquet/part-m-00000.parquet
at parquet.hadoop.InternalParquetRecordReader.nextKeyValue(InternalParquetRecordReader.java:213)
at parquet.hadoop.ParquetRecordReader.nextKeyValue(ParquetRecordReader.java:198)
at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:532)
at org.apache.hadoop.mapreduce.MapContext.nextKeyValue(MapContext.java:67)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:143)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212)
Caused by: parquet.io.ParquetDecodingException: Can't read value in column [a] INT32 at value 10 out of 10, 10 out of 10 in currentPage. repetition level: 0, definition level: 1
at parquet.column.impl.ColumnReaderImpl.readValue(ColumnReaderImpl.java:450)
at parquet.column.impl.ColumnReaderImpl.getInteger(ColumnReaderImpl.java:368)
at parquet.filter.ColumnPredicates$3.apply(ColumnPredicates.java:82)
at parquet.filter.ColumnRecordFilter.isMatch(ColumnRecordFilter.java:69)
at parquet.io.FilteredRecordReader.skipToMatch(FilteredRecordReader.java:77)
at parquet.io.FilteredRecordReader.read(FilteredRecordReader.java:57)
at parquet.hadoop.InternalParquetRecordReader.nextKeyValue(InternalParquetRecordReader.java:194)
... 7 more
Caused by: parquet.io.ParquetDecodingException: could not read int
at parquet.column.values.plain.PlainValuesReader$IntegerPlainValuesReader.readInteger(PlainValuesReader.java:107)
at parquet.column.impl.ColumnReaderImpl$2$3.read(ColumnReaderImpl.java:226)
at parquet.column.impl.ColumnReaderImpl.readValue(ColumnReaderImpl.java:446)
... 13 more
Caused by: java.io.EOFException
at parquet.bytes.LittleEndianDataInputStream.readInt(LittleEndianDataInputStream.java:352)
at parquet.column.values.plain.PlainValuesReader$IntegerPlainValuesReader.readInteger(PlainValuesReader.java:105)
... 15 more
````