Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> imports and avpr files


Copy link to this message
-
Re: imports and avpr files
Thanks for the tip. I'll play around with that when I have more time. Right
now I think I'll stick with one monolithic avpr file.

J

On Fri, Feb 17, 2012 at 9:54 AM, Doug Cutting <[EMAIL PROTECTED]> wrote:

> On 02/16/2012 06:41 PM, Jeremy Lewi wrote:
> > I'm not using a parser. I'm just using the avro compiler to generate
> > source files which I use in my code (I'm running mapreduce jobs whose
> > inputs/outputs are avro files).
>
> I think this is possible since AVRO-877 (in release 1.5.3).  One can
> specify multiple protocols on the compiler command line and types from
> prior protocols are available in subsequent protocols.  For example:
>
> java -jar avro-tools.jar compile protocol foo.avpr bar.avpr target/java
>
> Would that work?
>
> Doug
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB