commit | 08f5d763aa804d0db786356b1438b306e625dce2 | [log] [tgz] |
---|---|---|
author | vinayakb <vinayakb@123451ca-8445-de46-9d55-352943316053> | Wed Oct 06 21:04:05 2010 +0000 |
committer | vinayakb <vinayakb@123451ca-8445-de46-9d55-352943316053> | Wed Oct 06 21:04:05 2010 +0000 |
tree | cdc3cf63ad5c263b5c0db41d4ba24b71caa7f01b | |
parent | 2dc6277903dc1d76e6f3bc8a63f1aeb161436955 [diff] |
Fixed final flush problem git-svn-id: https://hyracks.googlecode.com/svn/trunk/hyracks@142 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks-dataflow-hadoop/src/main/java/edu/uci/ics/hyracks/dataflow/hadoop/HadoopReadOperatorDescriptor.java b/hyracks-dataflow-hadoop/src/main/java/edu/uci/ics/hyracks/dataflow/hadoop/HadoopReadOperatorDescriptor.java index 4d23b46..0c75d30 100644 --- a/hyracks-dataflow-hadoop/src/main/java/edu/uci/ics/hyracks/dataflow/hadoop/HadoopReadOperatorDescriptor.java +++ b/hyracks-dataflow-hadoop/src/main/java/edu/uci/ics/hyracks/dataflow/hadoop/HadoopReadOperatorDescriptor.java
@@ -156,6 +156,9 @@ } } } + if (appender.getTupleCount() > 0) { + FrameUtils.flushFrame(outBuffer, writer); + } hadoopRecordReader.close(); } catch (InstantiationException e) { throw new HyracksDataException(e);