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:31:00 UTC

[jira] [Commented] (BEAM-14192) ITs 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:comment-tabpanel&focusedCommentId=17513661#comment-17513661 ] 

Luke Cwik commented on BEAM-14192:
----------------------------------

b/224581228 was fixed internally, does the Dataflow container need to be rebuilt?

> ITs 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: runner-dataflow, test-failures
>            Reporter: Luke Cwik
>            Assignee: Kiley Sok
>            Priority: P2
>
> The Dataflow ITs fails with a class version mismatch. I believe the Dataflow v1 container that is being tested was built with the wrong JDK version.
> Jenkins: https://ci-beam.apache.org/job/beam_PostCommit_Java_DataflowV1/1427/#showFailuresLink
> 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)