Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro, mail # user - How to define Protocol from AVDL?

Copy link to this message
How to define Protocol from AVDL?
michał 2013-09-02, 10:57

This is my first time with mailing list.

The reading od AVPR is easy:

|Protocol protocol = Protocol.parse(new File("ht-proto.avpr"));

But this does not work for IDL files (AVDL).

*How to read the AVDL file so I could accomplish the following task but
using AVDL instead of AVPR:*

|public static void main (String[] args)  {
      Protocol protocol              Protocol.parse(Main.class.getResourceAsStream("net/protocol_man.avpr"));
                                                    //this doesnt work for AVDL file
Doug Cutting 2013-09-03, 17:15
michał 2013-09-30, 10:33