Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> Flushing data to an avro file


Copy link to this message
-
Re: Flushing data to an avro file
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