Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1478

protobuf namespaces causing problem for avro c++ reader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • c++
    • None

    Description

      Utilizing the ProtobufData functionality to generate avro output, we run into a complication when consuming this output using the c++ based avro reader. Seems it doesn't much like the '$' of a nesting outer class that is inherent with protocol buffers in java.

      Exception opening file for read:Invalid namespace: com.xxx.base.message.MessageProtos$

      in

      avro::DataFileReader<avro::GenericDatum>* file_reader;
      file_reader = new avro::DataFileReader<avro::GenericDatum>(file_name.c_str());]

      Attachments

        Issue Links

          Activity

            People

              thiru_mg Thiruvalluvan M. G.
              gjbaxter@mac.com George Baxter
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: