You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2021/05/04 22:58:00 UTC

[jira] [Commented] (BEAM-12195) Flink Runner 1.11 uses old Scala-Version

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

Kyle Weaver commented on BEAM-12195:
------------------------------------

Downgrading to P2 since it seems you found a workaround (Excluding scala from {{beam-runners-flink).}}

> Flink Runner 1.11 uses old Scala-Version
> ----------------------------------------
>
>                 Key: BEAM-12195
>                 URL: https://issues.apache.org/jira/browse/BEAM-12195
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-flink
>    Affects Versions: 2.28.0
>            Reporter: Dominic Warzok
>            Priority: P2
>
> I updated my project to beam 2.28.0 and also updated spring-boot to 2.2.0.RELEASE
> this seems to be a problem because Spring isn't using the scala dependency any more. 
> But as my dependencies says spring-kafka-test is using scala 2.12.13. 
> This seems to be a problem in the testing envrionment. Because flink runner gets compiled with scala 2.11.12. As I understand scala 2.11 isn't compatible with scala 2.12.
> Which leads to errors in the test environment. 
>  
> Adding 
> {code:java}
> <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
> <dependency>
>  <groupId>com.google.guava</groupId>
>  <artifactId>guava</artifactId>
>  <version>26.0-jre</version>
> </dependency>{code}
> to my pom.xml seems to solve the problem so far. 
>  
> But it would be nice if runner-flink could use scala 2.12 too.
>  
> I'm sorry if this issue isn't understandable. I'm not professional at working with maven and I only can describe as far as I understand the problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)