You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Luke Cwik (Jira)" <ji...@apache.org> on 2022/03/28 21:13:00 UTC

[jira] [Updated] (BEAM-14192) IT run on Dataflow v1 fails with org/apache/commons/logging/LogFactory has been compiled by a more recent version of the Java Runtime

     [ https://issues.apache.org/jira/browse/BEAM-14192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luke Cwik updated BEAM-14192:
-----------------------------
    Summary: IT run on Dataflow v1 fails with org/apache/commons/logging/LogFactory has been compiled by a more recent version of the Java Runtime  (was: BigQueryHllSketchCompatibilityIT fails with org/apache/commons/logging/LogFactory has been compiled by a more recent version of the Java Runtime)

> IT run on Dataflow v1 fails with org/apache/commons/logging/LogFactory has been compiled by a more recent version of the Java Runtime
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-14192
>                 URL: https://issues.apache.org/jira/browse/BEAM-14192
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>            Reporter: Luke Cwik
>            Assignee: Kiley Sok
>            Priority: P2
>
> The IT fails with a class version mismatch. This is odd since this implies that we are somehow getting a Apache Commons Logging jar that was compiled with Java 11.
> Note that I have only seen this in this IT and not others which is pointing at zetasketch classpath being broken in some way.
> My first thought was that we were pulling in a dependency with an incorrectly shaded apache-commons logging class but when I dumped the classpath and all the jar contents on the commons-logging-1.2.jar contained this class.
> First found failure: https://ci-beam.apache.org/job/beam_PostCommit_Java/8786/
> Example Failure:
> {noformat}
> java.lang.RuntimeException: java.lang.RuntimeException: org.apache.beam.sdk.util.UserCodeException: java.lang.UnsupportedClassVersionError: org/apache/commons/logging/LogFactory has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
> 	at org.apache.beam.runners.dataflow.worker.GroupAlsoByWindowsParDoFn$1.output(GroupAlsoByWindowsParDoFn.java:187)
> 	at org.apache.beam.runners.dataflow.worker.GroupAlsoByWindowFnRunner$1.outputWindowedValue(GroupAlsoByWindowFnRunner.java:108)
> 	at org.apache.beam.runners.dataflow.worker.util.BatchGroupAlsoByWindowReshuffleFn.processElement(BatchGroupAlsoByWindowReshuffleFn.java:56)
> 	at org.apache.beam.runners.dataflow.worker.util.BatchGroupAlsoByWindowReshuffleFn.processElement(BatchGroupAlsoByWindowReshuffleFn.java:39)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)