You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "George Baxter (JIRA)" <ji...@apache.org> on 2014/03/08 00:42:42 UTC
[jira] [Updated] (AVRO-1478) protobuf namespaces causing problem
for avro c++ reader
[ https://issues.apache.org/jira/browse/AVRO-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Baxter updated AVRO-1478:
--------------------------------
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());]
was:
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());]
Summary: protobuf namespaces causing problem for avro c++ reader (was: protobuf namespaces causing problem for avro c reader)
> protobuf namespaces causing problem for avro c++ reader
> -------------------------------------------------------
>
> Key: AVRO-1478
> URL: https://issues.apache.org/jira/browse/AVRO-1478
> Project: Avro
> Issue Type: Bug
> Reporter: George Baxter
>
> 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());]
--
This message was sent by Atlassian JIRA
(v6.2#6252)