Skip to content

Comments

apache-flink 2.0.0#216302

Closed
BrewTestBot wants to merge 1 commit intomasterfrom
bump-apache-flink-2.0.0
Closed

apache-flink 2.0.0#216302
BrewTestBot wants to merge 1 commit intomasterfrom
bump-apache-flink-2.0.0

Conversation

@BrewTestBot
Copy link
Contributor

Created by brew bump


Created with brew bump-formula-pr.

@github-actions github-actions bot added java Java use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Mar 24, 2025
@chenrui333
Copy link
Member

   ==> /home/linuxbrew/.linuxbrew/opt/apache-flink/libexec/bin/start-cluster.sh
  Starting cluster.
  Starting standalonesession daemon on host 0b7949443c4d.
  Starting taskexecutor daemon on host 0b7949443c4d.
  ==> /home/linuxbrew/.linuxbrew/Cellar/apache-flink-cdc/3.3.0/bin/flink-cdc --flink-home /home/linuxbrew/.linuxbrew/opt/apache-flink/libexec /tmp/apache-flink-cdc-test-20250324-7277-ojihkx/test-pipeline.yaml
  Picked up _JAVA_OPTIONS: -Duser.home=/home/linuxbrew/.cache/Homebrew/java_cache -Djava.io.tmpdir=/tmp
  Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/flink/streaming/api/functions/sink/SinkFunction
  	at org.apache.flink.cdc.connectors.values.factory.ValuesDataFactory.createDataSink(ValuesDataFactory.java:57)
  	at org.apache.flink.cdc.composer.flink.translator.DataSinkTranslator.createDataSink(DataSinkTranslator.java:73)
  	at org.apache.flink.cdc.composer.flink.FlinkPipelineComposer.translate(FlinkPipelineComposer.java:132)
  	at org.apache.flink.cdc.composer.flink.FlinkPipelineComposer.compose(FlinkPipelineComposer.java:99)
  	at org.apache.flink.cdc.cli.CliExecutor.run(CliExecutor.java:89)
  	at org.apache.flink.cdc.cli.CliFrontend.main(CliFrontend.java:74)
  Caused by: java.lang.ClassNotFoundException: org.apache.flink.streaming.api.functions.sink.SinkFunction
  	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
  	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
  	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
  	... 6 more
  [INFO] Set FLINK_HOME to /home/linuxbrew/.linuxbrew/opt/apache-flink/libexec.

@chenrui333 chenrui333 added the test failure CI fails while running the test-do block label Mar 24, 2025
@daeho-ro
Copy link
Member

daeho-ro commented Mar 24, 2025

org.apache.flink.streaming.api.functions.sink.SinkFunction class is removed in flink 2.0, so maybe they are not compatible. But... it just a test dependency. hm...

@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a help wanted or in progress label.

@github-actions github-actions bot added the stale No recent activity label Mar 26, 2025
@github-actions github-actions bot closed this Mar 28, 2025
@github-actions github-actions bot deleted the bump-apache-flink-2.0.0 branch March 28, 2025 00:13
@calvinit
Copy link
Contributor

calvinit commented Apr 1, 2025

org.apache.flink.streaming.api.functions.sink.SinkFunction class is removed in flink 2.0, so maybe they are not compatible. But... it just a test dependency. hm...

It hasn't been removed, it has just been moved to the legacy package.
SinkFunction.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-formula-pr PR was created using `brew bump-formula-pr` java Java use is a significant feature of the PR or issue stale No recent activity test failure CI fails while running the test-do block

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants