Min Zhou wrote:
how can i include another files for import outer schemas in a .avsc?

The recommended way is to use a pre-processor to generate the .avsc file.

For example, the following directory uses the m4 pre-processor to include the file MD5.js when generating HandshakeRequest.avpr and HandshakeResponse.avpr.

http://svn.apache.org/viewvc/hadoop/avro/trunk/src/schemata/org/apache/avro/ipc/

The generation is done by the "schemata" task of build.xml:

http://svn.apache.org/viewvc/hadoop/avro/trunk/build.xml?view=annotate#l175

Doug

Reply via email to