[jira] [Commented] (AVRO-2302) Invalid namespace importing Avro files generated from Protobuf

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (AVRO-2302) Invalid namespace importing Avro files generated from Protobuf

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/AVRO-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763103#comment-16763103 ]

Hudson commented on AVRO-2302:

FAILURE: Integrated in Jenkins build AvroJava #603 (See [https://builds.apache.org/job/AvroJava/603/])
AVRO-2302 Fix invalid namespace on BigQuery import (dan: [https://github.com/apache/avro/commit/e0ab6bd54ab632569782a577b7e9a1d419e08845])
* (edit) lang/java/protobuf/src/main/java/org/apache/avro/protobuf/ProtobufData.java
* (edit) lang/java/protobuf/src/test/java/org/apache/avro/protobuf/TestProtobuf.java
* (edit) lang/java/protobuf/src/main/java/org/apache/avro/protobuf/ProtobufDatumReader.java

> Invalid namespace importing Avro files generated from Protobuf
> --------------------------------------------------------------
>                 Key: AVRO-2302
>                 URL: https://issues.apache.org/jira/browse/AVRO-2302
>             Project: Apache Avro
>          Issue Type: Bug
>    Affects Versions: 1.8.2
>            Reporter: Pedro Carneiro
>            Assignee: Daniel Kulp
>            Priority: Major
>             Fix For: 1.9.0
> An error occurs when importing Avro files into BigQuery.
>  The files were generated using a ProtobufData schema.
>  The error shown is similar to:
> {code}
> BigQuery error in load operation: Error processing job
> '<some_job_id>': Error while reading data, error message: The
> Apache Avro library failed to parse the header with the following error: Invalid namespace:
> some.package.SomeClassProto$
> {code}
> When using a modified version of the ProtobufData class, that yields a namespace like
> {noformat}
> some.package.SomeClassProto
> {noformat}
> (without the dollar), the import worked without errors.
> Potentially related to AVRO-2143?

This message was sent by Atlassian JIRA