Avro
  1. Avro
  2. AVRO-883

Avro should come with a simple Java example

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: java
    • Labels:
      None

      Description

      The Avro distribution should have a simple Java example of how to serialize and deserialize data. As discussed on the mailing list, the example at https://github.com/wpm/AvroExample can serve as a basis.

        Activity

        Hide
        Georgy B Abraham added a comment -

        would be nice if it also included the NCDC example by tomwhite for Avro Mapreduce .. Surely did me great help when i started learning .

        https://github.com/tomwhite/hadoop-book/tree/master/avro

        Another example depecting the RPC usage also would cover the three basic sections of
        1.Serialization
        2.Avro Mapreduce and
        3.RPC

        Show
        Georgy B Abraham added a comment - would be nice if it also included the NCDC example by tomwhite for Avro Mapreduce .. Surely did me great help when i started learning . https://github.com/tomwhite/hadoop-book/tree/master/avro Another example depecting the RPC usage also would cover the three basic sections of 1.Serialization 2.Avro Mapreduce and 3.RPC
        Hide
        Doug Cutting added a comment -

        Perhaps this should go into lang/java/archetypes/avro-data-archetype? If you agree, would you be willing to convert this into a patch that goes there? Thanks!

        Show
        Doug Cutting added a comment - Perhaps this should go into lang/java/archetypes/avro-data-archetype? If you agree, would you be willing to convert this into a patch that goes there? Thanks!
        Hide
        Doug Cutting added a comment -

        This sounds like a good thing to have. Where should we put it in the directory tree?

        Show
        Doug Cutting added a comment - This sounds like a good thing to have. Where should we put it in the directory tree?

          People

          • Assignee:
            Unassigned
            Reporter:
            William McNeill
          • Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:

              Development