Skip to content

Apache Beam Java Lib and ANTLR #32696

@pinfrederic

Description

@pinfrederic

I am using Apache Beam with Google Dataflow in Java and I am trying to migrate the java lib from v2.51.0 to v2.59.0

We are using ANTLR v4.11.1 as a dependency of our Beam Pipeline.

With the v2.59.0 the pipeline fails to start with the error
ANTLR Tool version 4.7 used for code generation does not match the current runtime version 4.11.1

I can see both Apache Beam v2.51.0 and v2.59.0 are compiled with ANTLR v4.7 as a dependency HERE and HERE

My questions are the following:
Why do I suddenly get an exception at runtime with v2.59.0 when the v2.51.0 was working correctly?
I am not very confident to downgrade our version of ANTLR just because Apache Beam uses the v4.7. What if you upgrade it to v4.13? I would need to adapt again... this problem can be met by a lot of users of Apache Beam, is it possible to get rid of this dependency on Apache Beam lib?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions