The flush of the wrapper stream should also flush its underlying stream.

Doug

On Wed, Jul 10, 2013 at 9:52 AM, [email protected]
<[email protected]> wrote:
> Looking at the source for flush on the DataFileWriter[1], it looks like we
> do not flush the actual outputstream that we are writing data to. Should we
> possibly have an out.flush() in there as well?
>
> [1]
> http://grepcode.com/file/repo1.maven.org/maven2/org.apache.avro/avro/1.7.4/org/apache/avro/file/DataFileWriter.java#DataFileWriter.flush%28%29
>
>
> On Wed, Jul 10, 2013 at 11:41 AM, Doug Cutting <[email protected]> wrote:
>>
>> On Wed, Jul 10, 2013 at 9:35 AM, [email protected]
>> <[email protected]> wrote:
>> > I tried doing a DataFileWriter#flush but no dice.
>>
>> That should work.  How did it fail?
>>
>> Doug
>
>
>
>
> --
> Swarnim

Reply via email to