avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vyacheslav Zholudev <vyacheslav.zholu...@gmail.com>
Subject Is it possible to append to an already existing avro file
Date Mon, 20 Feb 2012 21:45:27 GMT
Hi, 

is it possible to append to an already existing avro file when it was written and closed before?

If I use
outputStream = fs.append(avroFilePath);

then later on I get: java.io.IOException: Invalid sync!

Probably because the schema is written twice and some other issues. 

If I use outputStream = fs.create(avroFilePath); then the avro file gets overwritten. 

Thanks,
Vyacheslav
Mime
View raw message