Re: Is it possible to append to an already existing avro file

2013-07-09 Thread Doug Cutting
to locate the file on hdfs? Could you please share some pointers what could be leading to this? -- View this message in context: http://apache-avro.679487.n3.nabble.com/Is-it-possible-to-append-to-an-already-existing-avro-file-tp3762049p4027785.html Sent from the Avro - Users mailing list

Re: Is it possible to append to an already existing avro file

2013-07-09 Thread TrevniUser
Thanks for replying. You are correct. I followed this example https://gist.github.com/QwertyManiac/4724582 -- View this message in context: http://apache-avro.679487.n3.nabble.com/Is-it-possible-to-append-to-an-already-existing-avro-file-tp3762049p4027789.html Sent from the Avro - Users

Re: Is it possible to append to an already existing avro file

2013-02-07 Thread Harsh J
that someone will come up with an interface that requires just one line of user code to achieve append. --- On Wed, 2/6/13, Harsh J ha...@cloudera.com wrote: From: Harsh J ha...@cloudera.com Subject: Re: Is it possible to append to an already existing avro file To: user@avro.apache.org Date

Re: Is it possible to append to an already existing avro file

2013-02-07 Thread Michael Malak
wrote: From: Harsh J ha...@cloudera.com Subject: Re: Is it possible to append to an already existing avro file To: user@avro.apache.org Date: Thursday, February 7, 2013, 9:28 AM I assume by non-trivial you meant the extra Seekable stuff I needed to wrap around the DFS output streams to let Avro

Re: Is it possible to append to an already existing avro file

2013-02-07 Thread Doug Cutting
, in the hopes that someone will come up with an interface that requires just one line of user code to achieve append. --- On Wed, 2/6/13, Harsh J ha...@cloudera.com wrote: From: Harsh J ha...@cloudera.com Subject: Re: Is it possible to append to an already existing avro file To: user

Re: Is it possible to append to an already existing avro file

2013-02-06 Thread Michael Malak
/13, Harsh J ha...@cloudera.com wrote: From: Harsh J ha...@cloudera.com Subject: Re: Is it possible to append to an already existing avro file To: user@avro.apache.org Date: Wednesday, February 6, 2013, 11:17 AM Hey Michael, It does implement the regular Java OutputStream interface, as seen

Re: Is it possible to append to an already existing avro file

2013-02-05 Thread Doug Cutting
is that will append to a file on the local filesystem, but not to a file on HDFS. --- On Tue, 2/5/13, Doug Cutting cutt...@apache.org wrote: From: Doug Cutting cutt...@apache.org Subject: Re: Is it possible to append to an already existing avro file To: user@avro.apache.org Date: Tuesday

Re: Is it possible to append to an already existing avro file

2013-02-05 Thread Michael Malak
I don't believe a Hadoop FileSystem is a Java OutputStream? --- On Tue, 2/5/13, Doug Cutting cutt...@apache.org wrote: From: Doug Cutting cutt...@apache.org Subject: Re: Is it possible to append to an already existing avro file To: user@avro.apache.org Date: Tuesday, February 5, 2013, 5:27

Is it possible to append to an already existing avro file

2012-02-20 Thread Vyacheslav Zholudev
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