incubator-gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Difference between Avro SpecificCompiler & GoraCompiler
Date Sat, 21 Jan 2012 18:13:44 GMT
Hi Guys,

Been messing around with the compiler today and got curious about some
things.

1) As this thread states, what is the specific difference between our own
compiler [1] implementation and the Avro SpecificCompiler [2] we have a
choice of using via bin/gora specificcompiler?
2) I was going to suggest that we upgrade to Avro version 1.6.1 (most
recently tagged stable), as the project seems to be more matured, there has
also been some code refactoring going on.
3) I've attached a link [3] to the current SpecificCompiler class within
the recent 1.6.1 release, even this class has increased in lines of code by
around 50%, therefore I think there is more functionality to be had from
upgrading.

The reason I'm asking is that I've been working on GORA-27, however I
wonder if it is better to work towards an implementation for Avro, and we
could then rely on that implementation rather than writing one solely for
Gora which can only be used here? This story, however falls through if
there is a strong case for us maintaining our own compiler implementation.

What do you guys think?

[1]
http://svn.apache.org/viewvc/incubator/gora/trunk/gora-core/src/main/java/org/apache/gora/compiler/GoraCompiler.java?view=markup
[2]
http://svn.apache.org/viewvc/avro/tags/release-1.3.3/lang/java/src/java/org/apache/avro/specific/SpecificCompiler.java?view=markup
[3]
http://svn.apache.org/viewvc/avro/tags/release-1.6.1/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java?view=markup
-- 
*Lewis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message