hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Avro/FAQ" by DougCutting
Date Sat, 01 Aug 2009 00:08:43 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by DougCutting:
http://wiki.apache.org/hadoop/Avro/FAQ

------------------------------------------------------------------------------
   * Simple integration with dynamic languages.  Code generation is not required to read or
write data files nor to use or implement RPC protocols.  Code generation as an optional optimization,
only worth implementing for statically typed languages.
  
  How to Statically Compile:
-  * In Java: Add the avro jar, the jackson-mapper-asl.jar and jackson-core-asl.jar to your
CLASSPATH. Then run java org.apache.avro.specific.SpecificCompiler <json file> 
+  * In Java: Add the avro jar, the jackson-mapper-asl.jar and jackson-core-asl.jar to your
CLASSPATH. Then run java org.apache.avro.specific.SpecificCompiler <json file>.  Or
use the [http://hadoop.apache.org/avro/docs/current/api/java/org/apache/avro/specific/SchemaTask.html
Schema] or [http://hadoop.apache.org/avro/docs/current/api/java/org/apache/avro/specific/ProtocolTask.html
Protocol] Ant tasks.  Avro's build.xml provides examples of how these are used.
  
+ How are Strings represented in Java?
+  * They use [http://hadoop.apache.org/avro/docs/current/api/java/org/apache/avro/util/Utf8.html
org.apache.avro.util.Utf8], not java.lang.String.
+ 

Mime
View raw message