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. +
